{ "db": "MySQL", "02060ab9b8ca472a2bd4d4fa3120743e90148ccd6a4cb13bc491d00f36ed7a8f": { "query": "\nSELECT\n id,\n status\nFROM w2l_inference_jobs\nWHERE id = ?\nFOR UPDATE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false ] } }, "0c32927e9292e0cf4aeb169ee3ed0ec122712a66a6850eb9e9da31d5a97e6e72": { "query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.on_success_result_token as maybe_result_token,\n results.public_bucket_video_path as maybe_public_bucket_video_path,\n\n jobs.maybe_w2l_template_token,\n w2l.template_type as w2l_template_type,\n w2l.title,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM w2l_inference_jobs as jobs\nJOIN w2l_templates as w2l\n ON w2l.token = jobs.maybe_w2l_template_token\nLEFT OUTER JOIN w2l_results as results\n ON jobs.on_success_result_token = results.token\n\nWHERE jobs.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 2, "name": "maybe_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "maybe_public_bucket_video_path", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 4, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 5, "name": "w2l_template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 8, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, true, true, true, false, false, false, false ] } }, "0caed749627ff22ae1cea52621a375156259a731e8070459593082b80d463491": { "query": "\nSELECT\n id,\n status\nFROM tts_model_upload_jobs\nWHERE id = ?\nFOR UPDATE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false ] } }, "0fc26cb6ab34ee6cd9d0cd8fac8bae7bd6f25bbf7c785cd5dc8888d08099b88b": { "query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.on_success_result_token as maybe_template_token,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM w2l_template_upload_jobs as jobs\n\nWHERE jobs.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 2, "name": "maybe_template_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 4, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, true, false, false ] } }, "10d2e4544e7ee74c3c394f1305e281cbc4003df207183ceaa18384c2e77baa61": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.updatable_slug,\n tts.title,\n tts.is_mod_disabled,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON\n users.token = tts.creator_user_token\nWHERE\n tts.deleted_at IS NULL\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "12250420b0a3ff3bf2dd7be76daa2920777e349642245211706f32add3df442c": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.updatable_slug,\n tts.private_bucket_hash,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE tts.token = ?\nAND tts.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 6, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 7, "name": "private_bucket_hash", "type_info": { "type": "String", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "215f82f4034ccb47bfa000c3fead66c3c9f7d5caa905aa99a702d396aeeebbc6": { "query": "\nINSERT INTO tts_model_upload_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n tts_model_type = ?,\n maybe_subject_token = ?,\n maybe_actor_subject_token = ?,\n download_url = ?,\n download_url_type = ?,\n status = \"pending\"\n ", "describe": { "columns": [], "parameters": { "Right": 11 }, "nullable": [] } }, "22a52ac04d4a53d48d5134fc929d39d8b13617bf62a2267be7bde0ac54ec38e2": { "query": "\nUPDATE w2l_templates\nSET\n deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ", "describe": { "columns": [], "parameters": { "Right": 2 }, "nullable": [] } }, "2537264be5f06db65bb9faa4b1a3e3fe97a18e8247d85cb8b10ea6f3b72b942b": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\nON\n users.token = w2l.creator_user_token\nWHERE\n w2l.deleted_at IS NULL\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 14, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false ] } }, "294c089b17fdd87d7e579c05a9d90e9bfa5b7465cafa9a95af08d58709212440": { "query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "2a00159789d38ecb28249096980d591606af8b55d60ce719d68309eb73d42bb0": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.updatable_slug,\n tts.title,\n tts.is_mod_disabled,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON\n users.token = tts.creator_user_token\nWHERE\n tts.deleted_at IS NULL\n AND tts.is_mod_disabled IS FALSE\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "2afb1d98fe7716b378778f706703dbaaa3ebb458e08ba7668a745484bce70895": { "query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.model_token as tts_model_token,\n tts_results.inference_text as inference_text,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nWHERE\n tts_results.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "tts_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 3, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 7, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, true, true, true, false, false, false, false ] } }, "2b04dd7db52ef3a97a6f420a22a4dbee7416ae58697438df69e87ffd47bbf350": { "query": "\nUPDATE w2l_inference_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "2bfb24d71e1fccb98b0c27912214dca2e2c2833355fdfa9f70e4d7a4d99a038b": { "query": "\nINSERT INTO w2l_template_upload_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n template_type = ?,\n maybe_subject_token = ?,\n maybe_actor_subject_token = ?,\n download_url = ?,\n download_url_type = ?,\n status = \"pending\"\n ", "describe": { "columns": [], "parameters": { "Right": 11 }, "nullable": [] } }, "2cebfec1341bb1066357b77440f36b3b7b7d292c64354912f21f7af6975de6fa": { "query": "\nSELECT\n users.token as user_token,\n users.username,\n users.display_name,\n\n users.email_address,\n users.email_confirmed,\n users.email_gravatar_hash,\n users.avatar_public_bucket_hash,\n\n users.dark_mode_preference,\n users.disable_gravatar,\n users.hide_results_preference,\n users.auto_play_audio_preference,\n users.auto_play_video_preference,\n users.maybe_preferred_tts_model_token,\n users.maybe_preferred_w2l_template_token,\n\n users.user_role_slug,\n users.banned,\n\n user_roles.can_use_tts,\n user_roles.can_use_w2l,\n\n user_roles.can_upload_tts_models,\n user_roles.can_upload_w2l_templates,\n user_roles.can_delete_own_tts_models,\n user_roles.can_delete_own_w2l_templates,\n\n user_roles.can_approve_w2l_templates,\n user_roles.can_edit_other_users_profiles,\n user_roles.can_edit_other_users_tts_models,\n user_roles.can_edit_other_users_w2l_templates,\n user_roles.can_delete_other_users_tts_models,\n user_roles.can_delete_other_users_w2l_templates,\n user_roles.can_ban_users\n\nFROM users\nLEFT OUTER JOIN user_sessions\n ON users.token = user_sessions.user_token\nLEFT OUTER JOIN user_roles\n ON users.user_role_slug = user_roles.slug\nWHERE user_sessions.token = ?\n AND user_sessions.deleted_at IS NULL\n AND users.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "user_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 2, "name": "display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 3, "name": "email_address", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 4, "name": "email_confirmed", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 5, "name": "email_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "avatar_public_bucket_hash", "type_info": { "type": "String", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 7, "name": "dark_mode_preference", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 40 } }, { "ordinal": 8, "name": "disable_gravatar", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 9, "name": "hide_results_preference", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 10, "name": "auto_play_audio_preference", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 11, "name": "auto_play_video_preference", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 12, "name": "maybe_preferred_tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 13, "name": "maybe_preferred_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 14, "name": "user_role_slug", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 15, "name": "banned", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 16, "name": "can_use_tts", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 17, "name": "can_use_w2l", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 18, "name": "can_upload_tts_models", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 19, "name": "can_upload_w2l_templates", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 20, "name": "can_delete_own_tts_models", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 21, "name": "can_delete_own_w2l_templates", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 22, "name": "can_approve_w2l_templates", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 23, "name": "can_edit_other_users_profiles", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 24, "name": "can_edit_other_users_tts_models", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 25, "name": "can_edit_other_users_w2l_templates", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 26, "name": "can_delete_other_users_tts_models", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 27, "name": "can_delete_other_users_w2l_templates", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 28, "name": "can_ban_users", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, true, false, false, false, false, false, true, true, false, false, true, true, true, true, true, true, true, true, true, true, true, true, true ] } }, "34364f9bc851971f8291f5f9942dd23d10718ccb210a93a236d96d0591f65f35": { "query": "\nINSERT INTO users (\n token,\n username,\n display_name,\n email_address,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n password_hash,\n ip_address_creation,\n ip_address_last_login,\n ip_address_last_update\n)\nVALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\n ", "describe": { "columns": [], "parameters": { "Right": 12 }, "nullable": [] } }, "345cbabbe69652c89ccd384ed7db44f70c53791488cf63721f9563291b45db3e": { "query": "\nINSERT INTO user_sessions (\n token,\n user_token,\n ip_address_creation,\n expires_at\n)\nVALUES ( ?, ?, ?, NOW() + interval 1 year )\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "36ff2cf2bdea42da6649923163013cdb5eaf719532d99305410284c69bedd2c0": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.private_bucket_hash,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\nON users.token = w2l.creator_user_token\nWHERE w2l.token = ?\nAND w2l.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "private_bucket_hash", "type_info": { "type": "String", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 13, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 14, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, false, true, true, false, false ] } }, "372e5a9d04fd56166ef38596b52b1707a5e6a78784f72395b24e91a15a523b2f": { "query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n model_token,\n inference_text,\n\n creator_ip_address,\n maybe_creator_user_token,\n creator_set_visibility,\n\n status,\n attempt_count,\n failure_reason,\n created_at,\n updated_at,\n retry_at\nFROM tts_inference_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "inference_job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "uuid_idempotency_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 3, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 5, "name": "creator_ip_address", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 160 } }, { "ordinal": 6, "name": "maybe_creator_user_token", "type_info": { "type": "String", "flags": { "bits": 136 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 7, "name": "creator_set_visibility", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 8, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 9, "name": "attempt_count", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 3 } }, { "ordinal": 10, "name": "failure_reason", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 11, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 12, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 13, "name": "retry_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, true, false, false, false, true, false, false, true ] } }, "3a2dc0a7e41dcbdf21f91d1a1e54e813f74b0bac7aea052302089cae195eeb53": { "query": "\nUPDATE users\nSET\n profile_markdown = ?,\n profile_rendered_html = ?,\n discord_username = ?,\n twitter_username = ?,\n twitch_username = ?,\n github_username = ?,\n cashapp_username = ?,\n website_url = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ", "describe": { "columns": [], "parameters": { "Right": 9 }, "nullable": [] } }, "3bc397a1157c4564562138dbef80cf89d2185943f5f925228936f0b5c67e1b95": { "query": "\nUPDATE tts_inference_jobs\nSET\n status = 'started',\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 1 }, "nullable": [] } }, "3de0e9c442ae0d4ca2f1da19357ac7685084e2843216313d7836ea60bc3dcfe0": { "query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.on_success_result_token as maybe_model_token,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM tts_model_upload_jobs as jobs\n\nWHERE jobs.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 2, "name": "maybe_model_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 4, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, true, false, false ] } }, "4b4b6c2b8306cd5b6b1fe28fd492de5e346f0a53c0efc4f0eec57c4238860764": { "query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.model_token as tts_model_token,\n tts_results.inference_text as inference_text,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nWHERE\n tts_results.deleted_at IS NULL\n AND tts_results.is_mod_hidden_from_public IS FALSE\n AND tts_models.is_mod_disabled IS FALSE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "tts_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 3, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 7, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, true, true, true, false, false, false, false ] } }, "4f61f621682ba255814f8a55455ea2b7fba9b6c85affaf87abfe2f81e11322f0": { "query": "\nSELECT\n id,\n status\nFROM tts_inference_jobs\nWHERE id = ?\nFOR UPDATE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false ] } }, "4fec6d4e2b33411835c679942860c328e20a4276fb39c3512f0608261c5467f4": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.updatable_slug,\n tts.title,\n tts.is_mod_disabled,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE\n tts.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "53d77ee58e9b1f7fb900914895c25bcccb9297378ff018c1e553b187d1956e92": { "query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE username = ?\nLIMIT 1\n ", "describe": { "columns": [ { "ordinal": 0, "name": "token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 2, "name": "email_address", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 3, "name": "password_hash", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 63, "max_size": 60 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false ] } }, "55a75db2d060bd49951db22f6b4ffd1545777b61c256030d59662543adc06ab2": { "query": "\nUPDATE users\nSET\n profile_markdown = ?,\n profile_rendered_html = ?,\n discord_username = ?,\n twitter_username = ?,\n twitch_username = ?,\n github_username = ?,\n cashapp_username = ?,\n website_url = ?,\n ip_address_last_update = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ", "describe": { "columns": [], "parameters": { "Right": 10 }, "nullable": [] } }, "65ce50a3aafe979e77a541d576228d7fcfe76e33400427d01382da36c1585edb": { "query": "\nUPDATE tts_inference_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "685a1d5bb03668be301bab35d677e270c94661c53f370ecd6ce8f1b697c4a01d": { "query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nWHERE\n w2l_results.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "w2l_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 392 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 4, "name": "template_title", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 7, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 8, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 11, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 12, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 13, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "68932d5d72489d06972510fb218ceeccc5c925bcd250a804c8b857502e373f18": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.updatable_slug,\n tts.title,\n tts.is_mod_disabled,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE\n tts.deleted_at IS NULL\n AND tts.is_mod_disabled IS FALSE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "73558104936aab6add2d9c789b368b5f155f1fe01d32e7314f2f120422866f54": { "query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "7408744db4c97b12e50585e2cdbc421a6c467316dea6589e3a317686cfe0deb4": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\nON users.token = w2l.creator_user_token\nWHERE\n w2l.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 14, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false ] } }, "746526e2e150150ef804d717f743de85010972d98cbb137e44d8348cfdb4dddc": { "query": "\nINSERT INTO w2l_results\nSET\n token = ?,\n maybe_w2l_template_token = ?,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = 'public',\n\n public_bucket_video_path = ?,\n\n file_size_bytes = ?,\n mime_type = ?,\n frame_width = ?,\n frame_height = ?,\n duration_millis = ?\n ", "describe": { "columns": [], "parameters": { "Right": 10 }, "nullable": [] } }, "79e6cc7829521ba8b26b5a97d3c8ab4e371945fa581e1632440c05658a2731ef": { "query": "\nUPDATE w2l_inference_jobs\nSET\n status = 'started',\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 1 }, "nullable": [] } }, "7ab54466ca3021d90e0feb234acba56bf53d415dde69bc1c35120ed0c8dd1858": { "query": "\nSELECT *\nFROM tts_model_upload_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "uuid_idempotency_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 3, "name": "on_success_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 6, "name": "maybe_subject_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 7, "name": "maybe_actor_subject_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 8, "name": "download_url", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 9, "name": "download_url_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 48 } }, { "ordinal": 10, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "creator_ip_address", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 160 } }, { "ordinal": 12, "name": "creator_set_visibility", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 13, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 14, "name": "attempt_count", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 3 } }, { "ordinal": 15, "name": "failure_reason", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 16, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 17, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 18, "name": "retry_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, false, false, true, true, true, false, false, false, false, false, false, true, false, false, true ] } }, "8347b64356502ae32979d48680e6b2097e7f8c4cdc492b7285044856b58ba017": { "query": "\nINSERT INTO w2l_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n maybe_w2l_template_token = ?,\n maybe_public_audio_bucket_hash = ?,\n maybe_public_audio_bucket_location = ?,\n\n maybe_original_audio_filename = ?,\n maybe_audio_mime_type = ?,\n\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n disable_end_bump = false,\n creator_set_visibility = \"public\",\n status = \"pending\"\n ", "describe": { "columns": [], "parameters": { "Right": 9 }, "nullable": [] } }, "865ce236444a36d597939660b14eb4b0cee05c70fdb73f31c2fb8cddddfef42c": { "query": "\nINSERT INTO firehose_entries\nSET\n token = ?,\n event_type = ?,\n maybe_target_user_token = ?,\n maybe_target_entity_token = ?,\n maybe_created_entity_token = ?\n ", "describe": { "columns": [], "parameters": { "Right": 5 }, "nullable": [] } }, "86f9a76cc97b471a23fff5b9ea78f7fc7ecf7603215f5db5a1ca4e063568b054": { "query": "\nUPDATE user_sessions\nSET deleted_at = CURRENT_TIMESTAMP()\nWHERE token = ?\nAND deleted_at IS NULL\n ", "describe": { "columns": [], "parameters": { "Right": 1 }, "nullable": [] } }, "88328e04ce947d3f541951aada9cee25135aa950ab478cf0dc6de453bb079e17": { "query": "\nSELECT\n events.token as event_token,\n events.event_type,\n events.maybe_target_user_token,\n users.username as maybe_target_username,\n users.display_name as maybe_target_display_name,\n users.email_gravatar_hash as maybe_target_user_gravatar_hash,\n events.maybe_target_entity_token,\n events.created_at,\n events.updated_at\nFROM firehose_entries as events\nLEFT OUTER JOIN users\nON events.maybe_target_user_token = users.token\nORDER BY events.id DESC\nLIMIT 25\n ", "describe": { "columns": [ { "ordinal": 0, "name": "event_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "event_type", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "maybe_target_user_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "maybe_target_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "maybe_target_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "maybe_target_user_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_target_entity_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 7, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 8, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, true, true, true, true, true, false, false ] } }, "8d61bb77449a78044135a3d6e5009a3a27b4671b7e40501d318b05ae401f02a8": { "query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ", "describe": { "columns": [ { "ordinal": 0, "name": "token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 2, "name": "email_address", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 3, "name": "password_hash", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 63, "max_size": 60 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false ] } }, "8f19eee8d83541363f3a1797ddfa9647d2e01e8bb6c6d640e85886ae2b9567fa": { "query": "\nINSERT INTO tts_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n model_token = ?,\n inference_text = ?,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n ", "describe": { "columns": [], "parameters": { "Right": 7 }, "nullable": [] } }, "9009e90e61f6672b072a1d28a18bffb6adca4ff804378a21b2611c8b62c747f0": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.is_mod_disabled,\n w2l.created_at,\n w2l.updated_at,\n w2l.deleted_at\nFROM w2l_templates as w2l\nJOIN users\nON users.token = w2l.creator_user_token\nWHERE w2l.token = ?\nAND w2l.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 14, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 15, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 16, "name": "deleted_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, true ] } }, "916f732e506073fd54596a730906eaa1dae1699b59fac9ac87b1476e4524c877": { "query": "\nSELECT\n users.token as user_token,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n banned,\n avatar_public_bucket_hash,\n disable_gravatar,\n maybe_preferred_tts_model_token,\n maybe_preferred_w2l_template_token,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n cashapp_username,\n website_url,\n created_at\nFROM users\nWHERE users.username = ?\nAND users.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "user_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 2, "name": "display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 3, "name": "email_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "profile_markdown", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 5, "name": "profile_rendered_html", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 6, "name": "user_role_slug", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 7, "name": "banned", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "avatar_public_bucket_hash", "type_info": { "type": "String", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 9, "name": "disable_gravatar", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 10, "name": "maybe_preferred_tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "maybe_preferred_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 12, "name": "discord_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 13, "name": "twitch_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 14, "name": "twitter_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 15, "name": "patreon_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 16, "name": "github_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 17, "name": "cashapp_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 18, "name": "website_url", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 19, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, true, false, true, true, true, true, true, true, true, true, true, false ] } }, "94847f448294888db6c800cc9558738b0c0de023225961d070b84b3906a2e493": { "query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nWHERE\n w2l_results.deleted_at IS NULL\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "w2l_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 392 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 4, "name": "template_title", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 7, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 8, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 11, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 12, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 13, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "95db7007b9e184d64d7b8983822cb635e5b142deb8e2bea59b04a95430b62d4d": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.is_mod_disabled,\n w2l.created_at,\n w2l.updated_at,\n w2l.deleted_at\nFROM w2l_templates as w2l\nJOIN users\nON users.token = w2l.creator_user_token\nWHERE w2l.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "is_mod_disabled", "type_info": { "type": "Tiny", "flags": { "bits": 9 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 14, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 15, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 16, "name": "deleted_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false, false, true ] } }, "9710f22f2579903571f71726585bb7de66b8a7fa9540b851c6ace30c51d29c69": { "query": "\nUPDATE w2l_templates\nSET\n deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ", "describe": { "columns": [], "parameters": { "Right": 2 }, "nullable": [] } }, "9c352e6fe6166ee18326908ef02dd61866d926ec63599aedf9f91a9d05d5c630": { "query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.inference_text,\n\n tts_results.model_token as tts_model_token,\n tts_models.title as tts_model_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n model_users.token as maybe_model_creator_user_token,\n model_users.username as maybe_model_creator_username,\n model_users.display_name as maybe_model_creator_display_name,\n model_users.email_gravatar_hash as maybe_model_creator_gravatar_hash,\n\n tts_results.public_bucket_wav_audio_path,\n tts_results.public_bucket_spectrogram_path,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as model_users\n ON tts_models.creator_user_token = model_users.token\nWHERE\n tts_results.deleted_at IS NULL\n AND tts_results.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "tts_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 2, "name": "tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "tts_model_title", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 4, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 5, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 7, "name": "maybe_creator_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 8, "name": "maybe_model_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 9, "name": "maybe_model_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 10, "name": "maybe_model_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 11, "name": "maybe_model_creator_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 12, "name": "public_bucket_wav_audio_path", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 13, "name": "public_bucket_spectrogram_path", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 14, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 15, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 16, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 17, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, true, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "9d4932baa4023accc2d28af98b58a47149d37c4937cd0171e6b955c09855c5f8": { "query": "\nINSERT INTO w2l_inference_jobs\nSET\n maybe_w2l_template_token = ?,\n maybe_tts_inference_result_token = ?,\n maybe_public_audio_bucket_location = NULL,\n maybe_public_image_bucket_location = NULL,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n ", "describe": { "columns": [], "parameters": { "Right": 5 }, "nullable": [] } }, "9e2a2897058a40d0b27b3afddf515fd9e458a7bec824de902a673362617e8987": { "query": "\nINSERT INTO tts_results\nSET\n token = ?,\n\n model_token = ?,\n inference_text = ?,\n inference_text_hash_sha2 = ?,\n\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = 'public',\n\n public_bucket_hash = 'TODO',\n public_bucket_wav_audio_path = ?,\n public_bucket_spectrogram_path = ?,\n inference_public_bucket_uuid = 'TODO',\n\n file_size_bytes = ?,\n duration_millis = ?\n ", "describe": { "columns": [], "parameters": { "Right": 10 }, "nullable": [] } }, "a125f183f7ae5627fc2118e7302cea73d967200ba1cbb12550f5880187b7db5e": { "query": "\nUPDATE w2l_inference_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "a9ff4b16669e8fb8efa9660c951ec545451fa2515ebd5d18308d088dec987121": { "query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nWHERE\n w2l_results.deleted_at IS NULL\n AND w2l_results.is_mod_hidden_from_public IS FALSE\n AND w2l_templates.is_mod_public_listing_approved IS TRUE\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "w2l_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 392 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 4, "name": "template_title", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 7, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 8, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 11, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 12, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 13, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "ab4913d3a45a2ee16110021823a0786a22aa561a55aafaee27851da1e0a67e12": { "query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.on_success_result_token as maybe_result_token,\n results.public_bucket_wav_audio_path as maybe_public_bucket_wav_audio_path,\n\n jobs.model_token,\n tts.tts_model_type,\n tts.title,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM tts_inference_jobs as jobs\nJOIN tts_models as tts\n ON tts.token = jobs.model_token\nLEFT OUTER JOIN tts_results as results\n ON jobs.on_success_result_token = results.token\n\nWHERE jobs.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 2, "name": "maybe_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "maybe_public_bucket_wav_audio_path", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 4, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 5, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 8, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, true, true, false, false, false, false, false ] } }, "ab78a81f85310750668e2c7de920c067290f2b004561ab706a5edfd893fd06fe": { "query": "\nINSERT INTO w2l_templates\nSET\n token = ?,\n template_type = ?,\n updatable_slug = ?,\n title = ?,\n description_markdown = '',\n description_rendered_html = '',\n creator_user_token = ?,\n creator_ip_address = ?,\n original_download_url = ?,\n private_bucket_hash = ?,\n private_bucket_object_name = ?,\n private_bucket_cached_faces_object_name = ?,\n maybe_public_bucket_preview_image_object_name = ?,\n maybe_public_bucket_preview_video_object_name = ?,\n file_size_bytes = ?,\n mime_type = ?,\n frame_width = ?,\n frame_height = ?,\n frame_count = ?,\n fps = ?,\n duration_millis = ?\n ", "describe": { "columns": [], "parameters": { "Right": 19 }, "nullable": [] } }, "ae2c639b0b9d4efd8734c23d5fd52178df985b4258ba7f3786fd609bfd647761": { "query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.model_token as tts_model_token,\n tts_results.inference_text as inference_text,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nWHERE\n tts_results.deleted_at IS NULL\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "tts_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 3, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 7, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, true, true, false, false, false, false ] } }, "b1ad806aa93f66cab358d7cdb405d57c643e2ff131cfec9f1ced55c2e6ca9511": { "query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "b3f987707efca036012cb6cbdc3a2e104ccf8d41f2e1608bcca6e05b308b5696": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\nON users.token = w2l.creator_user_token\nWHERE\n w2l.deleted_at IS NULL\n AND w2l.is_mod_public_listing_approved IS TRUE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 14, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false ] } }, "b4582bc4d8865cc82bf1e0fe15209db07d1922a29c274b872cd5f5eaee4b261d": { "query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = 'started',\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 1 }, "nullable": [] } }, "b62d4ca915206b8f956a2664c72e02832d38ab34fb3be50d9a77cf8145297689": { "query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.updatable_slug,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_mod_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\nON\n users.token = w2l.creator_user_token\nWHERE\n w2l.deleted_at IS NULL\n AND w2l.is_mod_public_listing_approved IS TRUE\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "maybe_public_bucket_preview_image_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 11, "name": "maybe_public_bucket_preview_video_object_name", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 12, "name": "is_mod_public_listing_approved", "type_info": { "type": "Tiny", "flags": { "bits": 0 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 13, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 14, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false, true, true, true, false, false ] } }, "b7535ecf2e63b7f02b5b96f833fd8cd28285b24473df6f89795ff360c1723215": { "query": "\nSELECT *\nFROM w2l_template_upload_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "uuid_idempotency_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 3, "name": "on_success_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 6, "name": "maybe_subject_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 7, "name": "maybe_actor_subject_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 8, "name": "download_url", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 9, "name": "download_url_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 48 } }, { "ordinal": 10, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "creator_ip_address", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 160 } }, { "ordinal": 12, "name": "creator_set_visibility", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 13, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 14, "name": "attempt_count", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 3 } }, { "ordinal": 15, "name": "failure_reason", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 16, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 17, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 18, "name": "retry_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, false, false, true, true, true, false, false, false, false, false, false, true, false, false, true ] } }, "bd151e17d1dd65c25ebc689a1d321ac14b8d5d8f1c9e8426c0c92ed278595de2": { "query": "\nINSERT INTO tts_models\nSET\n token = ?,\n tts_model_type = \"tacotron2\",\n updatable_slug = ?,\n title = ?,\n description_markdown = '',\n description_rendered_html = '',\n creator_user_token = ?,\n creator_ip_address = ?,\n original_download_url = ?,\n private_bucket_hash = ?,\n private_bucket_object_name = ?,\n file_size_bytes = ?\n ", "describe": { "columns": [], "parameters": { "Right": 9 }, "nullable": [] } }, "bf489cf419d342d144f072c310d6d70c9073b092b5721f489eaf2ffc8ad3915e": { "query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "c1a4f3667de265a6f501b141cc35c44ce7b3703627c7d8336d0ef8445962ed34": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_preprocessing_algorithm,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n\n tts.updatable_slug,\n tts.title,\n\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE tts.updatable_slug = ?\nAND tts.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "text_preprocessing_algorithm", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 72 } }, { "ordinal": 3, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 7, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, false, false ] } }, "ca5efc3be0f09649df2add5270c06544133288a95ffcb9a0589efd4fe345efe7": { "query": "\nINSERT INTO badges ( slug, title, description, image_url )\nVALUES ( ?, ?, ?, ? )\n ", "describe": { "columns": [], "parameters": { "Right": 4 }, "nullable": [] } }, "caa1b771bc360614445df502055125051fed57e758ea2bd81cf303bfb03c2c9f": { "query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nWHERE\n w2l_results.deleted_at IS NULL\n AND w2l_results.is_mod_hidden_from_public IS FALSE\n AND w2l_templates.is_mod_public_listing_approved IS TRUE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "w2l_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 392 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 4, "name": "template_title", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 7, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 8, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 9, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 10, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 11, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 12, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 13, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "d12757abef811cd6951e0e1427fdb496a8931b547519d320f5ade56007d3eb5d": { "query": "\nSELECT\n id,\n status\nFROM w2l_template_upload_jobs\nWHERE id = ?\nFOR UPDATE\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false ] } }, "d14d0e03acc71081726ef0e31bade27110f1ac8eff9ccfe155df5dbd47d06560": { "query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n maybe_w2l_template_token,\n maybe_public_image_bucket_location,\n maybe_tts_inference_result_token,\n maybe_public_audio_bucket_hash,\n maybe_public_audio_bucket_location,\n\n maybe_original_audio_filename,\n maybe_original_audio_download_url,\n maybe_audio_mime_type,\n\n creator_ip_address,\n maybe_creator_user_token,\n\n creator_set_visibility,\n disable_end_bump,\n disable_watermark,\n\n status,\n attempt_count,\n failure_reason,\n created_at,\n updated_at,\n retry_at\nFROM w2l_inference_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": { "type": "LongLong", "flags": { "bits": 515 }, "char_set": 63, "max_size": 20 } }, { "ordinal": 1, "name": "inference_job_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "uuid_idempotency_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 3, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "maybe_public_image_bucket_location", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 5, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 6, "name": "maybe_public_audio_bucket_hash", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 7, "name": "maybe_public_audio_bucket_location", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 8, "name": "maybe_original_audio_filename", "type_info": { "type": "String", "flags": { "bits": 128 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 9, "name": "maybe_original_audio_download_url", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 10, "name": "maybe_audio_mime_type", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "creator_ip_address", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 160 } }, { "ordinal": 12, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 13, "name": "creator_set_visibility", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 14, "name": "disable_end_bump", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 15, "name": "disable_watermark", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 16, "name": "status", "type_info": { "type": "String", "flags": { "bits": 393 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 17, "name": "attempt_count", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 3 } }, { "ordinal": 18, "name": "failure_reason", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 2048 } }, { "ordinal": 19, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 20, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 21, "name": "retry_at", "type_info": { "type": "Timestamp", "flags": { "bits": 128 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, true, true, true, true, true, true, true, false, true, false, false, false, false, false, true, false, false, true ] } }, "d15d602c1089dd5aaa75bc0f97697e9a51a058496efbcaa1a59ffef72dfcd2fa": { "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.updatable_slug,\n tts.title,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE tts.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "model_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_type", "type_info": { "type": "String", "flags": { "bits": 385 }, "char_set": 224, "max_size": 60 } }, { "ordinal": 2, "name": "creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 3, "name": "creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 4, "name": "creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "updatable_slug", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 256 } }, { "ordinal": 6, "name": "title", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 7, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 8, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 0 }, "nullable": [ false, false, false, false, false, false, false, false, false ] } }, "d5d3e1bd935d32639ad7398936f4c8ee9f3caff6c0789db29b45a81555d1bdce": { "query": "\nUPDATE tts_model_upload_jobs\nSET\n status = 'started',\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 1 }, "nullable": [] } }, "e73192a3e763a287d5737821443c5a81649f17e39978497b99c52e1e896a75f6": { "query": "\nSELECT\n token as session_token,\n user_token\nFROM user_sessions\nWHERE token = ?\nAND deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "session_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "user_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false ] } }, "e76b9212a263b286e5a012bcf725c33580f9c4a8da800f0da124a1ceff3086b0": { "query": "\nSELECT\n users.token as user_token,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n banned,\n avatar_public_bucket_hash,\n disable_gravatar,\n maybe_preferred_tts_model_token,\n maybe_preferred_w2l_template_token,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n created_at\nFROM users\nWHERE users.username = ?\nAND users.deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "user_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "username", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 2, "name": "display_name", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 3, "name": "email_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "profile_markdown", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 5, "name": "profile_rendered_html", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 6, "name": "user_role_slug", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 64 } }, { "ordinal": 7, "name": "banned", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 8, "name": "avatar_public_bucket_hash", "type_info": { "type": "String", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 9, "name": "disable_gravatar", "type_info": { "type": "Tiny", "flags": { "bits": 1 }, "char_set": 63, "max_size": 1 } }, { "ordinal": 10, "name": "maybe_preferred_tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "maybe_preferred_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 12, "name": "discord_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 13, "name": "twitch_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 14, "name": "twitter_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 15, "name": "patreon_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 16, "name": "github_username", "type_info": { "type": "VarString", "flags": { "bits": 128 }, "char_set": 224, "max_size": 144 } }, { "ordinal": 17, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, false, false, false, false, false, true, false, true, true, true, true, true, true, true, false ] } }, "ee3925235a4f3b0a5d6ec0053b15fb9a2d6af28ca1039e2563d7d53430078986": { "query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.model_token as tts_model_token,\n tts_results.inference_text as inference_text,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nWHERE\n tts_results.deleted_at IS NULL\n AND tts_results.is_mod_hidden_from_public IS FALSE\n AND tts_models.is_mod_disabled IS FALSE\n AND users.username = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "tts_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "tts_model_token", "type_info": { "type": "VarString", "flags": { "bits": 4233 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "inference_text", "type_info": { "type": "Blob", "flags": { "bits": 4241 }, "char_set": 224, "max_size": 262140 } }, { "ordinal": 3, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 5, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 6, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 7, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 8, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 9, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, false, false, true, true, true, false, false, false, false ] } }, "f00402e757b7f5d8ded60e78ac47d93ccf4c71a2acba9dddcedfed0ac4d2e3a5": { "query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_results.public_bucket_video_path,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n template_users.token as maybe_template_creator_user_token,\n template_users.username as maybe_template_creator_username,\n template_users.display_name as maybe_template_creator_display_name,\n template_users.email_gravatar_hash as maybe_template_creator_gravatar_hash,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as template_users\n ON w2l_templates.creator_user_token = template_users.token\nWHERE\n w2l_results.deleted_at IS NULL\n AND w2l_results.token = ?\n ", "describe": { "columns": [ { "ordinal": 0, "name": "w2l_result_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 1, "name": "maybe_tts_inference_result_token", "type_info": { "type": "VarString", "flags": { "bits": 136 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 2, "name": "public_bucket_video_path", "type_info": { "type": "VarString", "flags": { "bits": 4225 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 3, "name": "maybe_w2l_template_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 4, "name": "template_type", "type_info": { "type": "String", "flags": { "bits": 392 }, "char_set": 224, "max_size": 28 } }, { "ordinal": 5, "name": "template_title", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 1020 } }, { "ordinal": 6, "name": "maybe_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 7, "name": "maybe_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 8, "name": "maybe_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 9, "name": "maybe_creator_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 10, "name": "maybe_template_creator_user_token", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 11, "name": "maybe_template_creator_username", "type_info": { "type": "VarString", "flags": { "bits": 4228 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 12, "name": "maybe_template_creator_display_name", "type_info": { "type": "VarString", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 80 } }, { "ordinal": 13, "name": "maybe_template_creator_gravatar_hash", "type_info": { "type": "String", "flags": { "bits": 4224 }, "char_set": 224, "max_size": 128 } }, { "ordinal": 14, "name": "file_size_bytes", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 15, "name": "frame_width", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 16, "name": "frame_height", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 17, "name": "duration_millis", "type_info": { "type": "Long", "flags": { "bits": 1 }, "char_set": 63, "max_size": 10 } }, { "ordinal": 18, "name": "created_at", "type_info": { "type": "Timestamp", "flags": { "bits": 1153 }, "char_set": 63, "max_size": 19 } }, { "ordinal": 19, "name": "updated_at", "type_info": { "type": "Timestamp", "flags": { "bits": 9345 }, "char_set": 63, "max_size": 19 } } ], "parameters": { "Right": 1 }, "nullable": [ false, true, false, true, true, true, true, true, true, true, true, true, true, true, false, false, false, false, false, false ] } }, "f19300f4e8434c2669dac062e5a79c5ca71767c7380aab0ab40b51be8ff449d8": { "query": "\nUPDATE tts_inference_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 1 minute\nWHERE id = ?\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } }, "f6e625dde66da14091591f321eb65b0137fceb7168305bf17806f1876a644954": { "query": "\nSELECT\n token as template_token\nFROM w2l_templates\nWHERE token = ?\nAND deleted_at IS NULL\n ", "describe": { "columns": [ { "ordinal": 0, "name": "template_token", "type_info": { "type": "VarString", "flags": { "bits": 4229 }, "char_set": 224, "max_size": 128 } } ], "parameters": { "Right": 1 }, "nullable": [ false ] } }, "fc8641968fc13589daceebeded8a8d0446309f8c2961066450f913c87156bbc6": { "query": "\nUPDATE w2l_templates\nSET\n is_mod_public_listing_approved = ?,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ", "describe": { "columns": [], "parameters": { "Right": 3 }, "nullable": [] } } }