diff --git a/crates/lib/database_queries/sqlx-data.json b/crates/lib/database_queries/sqlx-data.json index d1f3c26c20..5dc5d50c16 100644 --- a/crates/lib/database_queries/sqlx-data.json +++ b/crates/lib/database_queries/sqlx-data.json @@ -3141,6 +3141,16 @@ }, "query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n model_token,\n raw_inference_text,\n\n max_duration_seconds,\n \n creator_ip_address,\n maybe_creator_user_token,\n creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n is_from_api,\n is_for_twitch,\n is_debug_request,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n priority_level,\n attempt_count,\n failure_reason,\n\n created_at,\n updated_at,\n retry_at\nFROM tts_inference_jobs\nWHERE\n priority_level >= ?\n AND is_debug_request = ?\n AND\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 ORDER BY priority_level DESC, id ASC\n LIMIT ?\n " }, + "325fa77b36c1eb8ff8a67beb8db8d3cbf6224e8e619fbcf2bf0daa54bdf51e06": { + "describe": { + "columns": [], + "nullable": [], + "parameters": { + "Right": 11 + } + }, + "query": "\nUPDATE tts_models\nSET\n is_public_listing_approved = ?,\n is_locked_from_user_modification = ?,\n is_locked_from_use = ?,\n maybe_mod_comments = ?,\n maybe_mod_user_token = ?,\n is_front_page_featured = ?,\n is_twitch_featured = ?,\n maybe_suggested_unique_bot_command = ?,\n use_default_mel_multiply_factor = ?,\n maybe_custom_mel_multiply_factor = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n " + }, "33cd0c0b8eaaf494ef97232ac89775b8eb6a22d310824b7aa7db310dd4fd41b1": { "describe": { "columns": [], @@ -5253,16 +5263,6 @@ }, "query": "\nUPDATE tts_models\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n " }, - "553034e2300bb7cce54964b1cd93d6f4826eccef9b1aee3bc9abd69433ee0d5c": { - "describe": { - "columns": [], - "nullable": [], - "parameters": { - "Right": 9 - } - }, - "query": "\nUPDATE tts_models\nSET\n is_public_listing_approved = ?,\n is_locked_from_user_modification = ?,\n is_locked_from_use = ?,\n maybe_mod_comments = ?,\n maybe_mod_user_token = ?,\n is_front_page_featured = ?,\n is_twitch_featured = ?,\n maybe_suggested_unique_bot_command = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n " - }, "56a0a2bfc3c73d6845ca9cf1d285b175a40b50a250b7effb9ce6474e58113d6e": { "describe": { "columns": [ @@ -6053,486 +6053,6 @@ }, "query": "\nUPDATE w2l_results\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n " }, - "67eb3c7d82dd0484c2ab9ec3cf2d019dfb8736393ebab3a1e3780bc5c82a275b": { - "describe": { - "columns": [ - { - "name": "model_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "tts_model_type", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 60, - "type": "String" - } - }, - { - "name": "text_pipeline_type", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "text_preprocessing_algorithm", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "maybe_default_pretrained_vocoder", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "creator_user_token", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_display_name", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_gravatar_hash", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "creator_is_banned", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "title", - "ordinal": 10, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "description_markdown", - "ordinal": 11, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "description_rendered_html", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "ietf_language_tag", - "ordinal": 13, - "type_info": { - "char_set": 224, - "flags": { - "bits": 129 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "ietf_primary_language_subtag", - "ordinal": 14, - "type_info": { - "char_set": 224, - "flags": { - "bits": 129 - }, - "max_size": 48, - "type": "VarString" - } - }, - { - "name": "is_front_page_featured", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_twitch_featured", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "maybe_suggested_unique_bot_command", - "ordinal": 17, - "type_info": { - "char_set": 224, - "flags": { - "bits": 132 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "user_ratings_positive_count", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "user_ratings_negative_count", - "ordinal": 19, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "user_ratings_total_count", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "creator_set_visibility", - "ordinal": 21, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "is_locked_from_use", - "ordinal": 22, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_locked_from_user_modification", - "ordinal": 23, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "maybe_custom_vocoder_token", - "ordinal": 24, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_title", - "ordinal": 25, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_user_token", - "ordinal": 26, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4228 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_username", - "ordinal": 27, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4228 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_display_name", - "ordinal": 28, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_gravatar_hash", - "ordinal": 29, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "created_at", - "ordinal": 30, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 31, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "creator_ip_address_creation", - "ordinal": 32, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "creator_ip_address_last_update", - "ordinal": 33, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 34, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 35, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - true, - false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - true, - true, - true, - true, - true, - true, - false, - false, - false, - false, - true, - true - ], - "parameters": { - "Right": 1 - } - }, - "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE tts.token = ?\n " - }, "68376f750b8421c10d319fa1045a2f3ce8fb1d35a5fe6ec92b2022babafbde80": { "describe": { "columns": [], @@ -7549,6 +7069,512 @@ }, "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 " }, + "7ae9859f71c51731e996ccee4df994c20320508bde64eb33e341b861c0b58c9f": { + "describe": { + "columns": [ + { + "name": "model_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "tts_model_type", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 60, + "type": "String" + } + }, + { + "name": "text_pipeline_type", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "text_preprocessing_algorithm", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "maybe_default_pretrained_vocoder", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "use_default_mel_multiply_factor", + "ordinal": 5, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_custom_mel_multiply_factor", + "ordinal": 6, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 22, + "type": "Double" + } + }, + { + "name": "creator_user_token", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_username", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_display_name", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_gravatar_hash", + "ordinal": 10, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "creator_is_banned", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "title", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "description_markdown", + "ordinal": 13, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "description_rendered_html", + "ordinal": 14, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "ietf_language_tag", + "ordinal": 15, + "type_info": { + "char_set": 224, + "flags": { + "bits": 129 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "ietf_primary_language_subtag", + "ordinal": 16, + "type_info": { + "char_set": 224, + "flags": { + "bits": 129 + }, + "max_size": 48, + "type": "VarString" + } + }, + { + "name": "is_front_page_featured", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_twitch_featured", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_suggested_unique_bot_command", + "ordinal": 19, + "type_info": { + "char_set": 224, + "flags": { + "bits": 132 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "user_ratings_positive_count", + "ordinal": 20, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "user_ratings_negative_count", + "ordinal": 21, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "user_ratings_total_count", + "ordinal": 22, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "creator_set_visibility", + "ordinal": 23, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "is_locked_from_use", + "ordinal": 24, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_locked_from_user_modification", + "ordinal": 25, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_custom_vocoder_token", + "ordinal": 26, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_title", + "ordinal": 27, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_user_token", + "ordinal": 28, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4228 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_username", + "ordinal": 29, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4228 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_display_name", + "ordinal": 30, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_gravatar_hash", + "ordinal": 31, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "created_at", + "ordinal": 32, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 33, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "creator_ip_address_creation", + "ordinal": 34, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_ip_address_last_update", + "ordinal": 35, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 36, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 37, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + true, + false, + true, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + true, + true, + true, + true, + true, + true, + false, + false, + false, + false, + true, + true + ], + "parameters": { + "Right": 1 + } + }, + "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE tts.token = ?\n " + }, "7cd0ad5d7b9a2c393f799beadc1e0a6bc85d952e07a1b82a52115b99be40ff6d": { "describe": { "columns": [ @@ -7743,486 +7769,6 @@ }, "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.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_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\n ON users.token = w2l.creator_user_token\nWHERE\n w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n " }, - "7de94c44990226bf9f151bf6207afac2d31f58b9ab1703bda70488a2d6367c86": { - "describe": { - "columns": [ - { - "name": "model_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "tts_model_type", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 60, - "type": "String" - } - }, - { - "name": "text_pipeline_type", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "text_preprocessing_algorithm", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "maybe_default_pretrained_vocoder", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "creator_user_token", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_display_name", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_gravatar_hash", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "creator_is_banned", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "title", - "ordinal": 10, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "description_markdown", - "ordinal": 11, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "description_rendered_html", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "ietf_language_tag", - "ordinal": 13, - "type_info": { - "char_set": 224, - "flags": { - "bits": 129 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "ietf_primary_language_subtag", - "ordinal": 14, - "type_info": { - "char_set": 224, - "flags": { - "bits": 129 - }, - "max_size": 48, - "type": "VarString" - } - }, - { - "name": "is_front_page_featured", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_twitch_featured", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "maybe_suggested_unique_bot_command", - "ordinal": 17, - "type_info": { - "char_set": 224, - "flags": { - "bits": 132 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "user_ratings_positive_count", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "user_ratings_negative_count", - "ordinal": 19, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "user_ratings_total_count", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 10, - "type": "Long" - } - }, - { - "name": "creator_set_visibility", - "ordinal": 21, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "is_locked_from_use", - "ordinal": 22, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_locked_from_user_modification", - "ordinal": 23, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "maybe_custom_vocoder_token", - "ordinal": 24, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_title", - "ordinal": 25, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_user_token", - "ordinal": 26, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4228 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_username", - "ordinal": 27, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4228 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_display_name", - "ordinal": 28, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_creator_gravatar_hash", - "ordinal": 29, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "created_at", - "ordinal": 30, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 31, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "creator_ip_address_creation", - "ordinal": 32, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "creator_ip_address_last_update", - "ordinal": 33, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 34, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 35, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - true, - false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - true, - true, - true, - true, - true, - true, - false, - false, - false, - false, - true, - true - ], - "parameters": { - "Right": 1 - } - }, - "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n " - }, "7fcef4b4803a49b15ad4c07a53f32abd5a248e9961cc4fc87aac2fd905f332b2": { "describe": { "columns": [ @@ -11963,6 +11509,512 @@ }, "query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n " }, + "c07128b3fdf42db090bc5dc1a7680a1ebb9e7bde29873e4120f742590e90699e": { + "describe": { + "columns": [ + { + "name": "model_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "tts_model_type", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 60, + "type": "String" + } + }, + { + "name": "text_pipeline_type", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "text_preprocessing_algorithm", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "maybe_default_pretrained_vocoder", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "use_default_mel_multiply_factor", + "ordinal": 5, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_custom_mel_multiply_factor", + "ordinal": 6, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 22, + "type": "Double" + } + }, + { + "name": "creator_user_token", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_username", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_display_name", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_gravatar_hash", + "ordinal": 10, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "creator_is_banned", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "title", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "description_markdown", + "ordinal": 13, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "description_rendered_html", + "ordinal": 14, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "ietf_language_tag", + "ordinal": 15, + "type_info": { + "char_set": 224, + "flags": { + "bits": 129 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "ietf_primary_language_subtag", + "ordinal": 16, + "type_info": { + "char_set": 224, + "flags": { + "bits": 129 + }, + "max_size": 48, + "type": "VarString" + } + }, + { + "name": "is_front_page_featured", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_twitch_featured", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_suggested_unique_bot_command", + "ordinal": 19, + "type_info": { + "char_set": 224, + "flags": { + "bits": 132 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "user_ratings_positive_count", + "ordinal": 20, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "user_ratings_negative_count", + "ordinal": 21, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "user_ratings_total_count", + "ordinal": 22, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 10, + "type": "Long" + } + }, + { + "name": "creator_set_visibility", + "ordinal": 23, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "is_locked_from_use", + "ordinal": 24, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_locked_from_user_modification", + "ordinal": 25, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_custom_vocoder_token", + "ordinal": 26, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_title", + "ordinal": 27, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_user_token", + "ordinal": 28, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4228 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_username", + "ordinal": 29, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4228 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_display_name", + "ordinal": 30, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_creator_gravatar_hash", + "ordinal": 31, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "created_at", + "ordinal": 32, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 33, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "creator_ip_address_creation", + "ordinal": 34, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_ip_address_last_update", + "ordinal": 35, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 36, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 37, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + true, + false, + true, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + true, + true, + true, + true, + true, + true, + false, + false, + false, + false, + true, + true + ], + "parameters": { + "Right": 1 + } + }, + "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_pipeline_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.use_default_mel_multiply_factor,\n tts.maybe_custom_mel_multiply_factor,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.ietf_language_tag,\n tts.ietf_primary_language_subtag,\n\n tts.is_front_page_featured,\n tts.is_twitch_featured,\n\n tts.maybe_suggested_unique_bot_command,\n\n tts.user_ratings_positive_count,\n tts.user_ratings_negative_count,\n tts.user_ratings_total_count,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.maybe_custom_vocoder_token,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder_user.token as maybe_custom_vocoder_creator_user_token,\n vocoder_user.username as maybe_custom_vocoder_creator_username,\n vocoder_user.display_name as maybe_custom_vocoder_creator_display_name,\n vocoder_user.email_gravatar_hash as maybe_custom_vocoder_creator_gravatar_hash,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\n\nLEFT OUTER JOIN vocoder_models AS vocoder\n ON vocoder.token = tts.maybe_custom_vocoder_token\nLEFT OUTER JOIN users AS vocoder_user\n ON vocoder_user.token = vocoder.creator_user_token\n\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n " + }, "c0f56e2656b566d3a8c869d39b0b56d1fbb75d7d9e817a24b10add44d348092d": { "describe": { "columns": [