From 11fd4881ea6c496f65146f0838ba0093bc89cf47 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 16 Jan 2023 04:57:25 -0500 Subject: [PATCH] re-codegen --- sqlx-data.json | 5926 ++++++++++++++++++++++++------------------------ 1 file changed, 2963 insertions(+), 2963 deletions(-) diff --git a/sqlx-data.json b/sqlx-data.json index ed5830471f..62d5f443d1 100644 --- a/sqlx-data.json +++ b/sqlx-data.json @@ -786,6 +786,460 @@ }, "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\nON\n users.token = w2l.creator_user_token\nWHERE\n users.username = ?\n AND w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n " }, + "07d330b4c2e6b0dc76e2e61a3b44b47b8d287adf5eb0646f6cf2876655581a13": { + "describe": { + "columns": [ + { + "name": "user_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "username", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "display_name", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "email_address", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "email_confirmed", + "ordinal": 4, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "email_gravatar_hash", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "maybe_stripe_customer_id", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_loyalty_program_key", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "disable_gravatar", + "ordinal": 8, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "auto_play_audio_preference", + "ordinal": 9, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "auto_play_video_preference", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "preferred_tts_result_visibility: enums::common::visibility::Visibility", + "ordinal": 11, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "preferred_w2l_result_visibility: enums::common::visibility::Visibility", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "user_role_slug", + "ordinal": 13, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 64, + "type": "VarString" + } + }, + { + "name": "is_banned", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_use_tts", + "ordinal": 15, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_use_w2l", + "ordinal": 16, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_own_tts_results", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_own_w2l_results", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_own_account", + "ordinal": 19, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_upload_tts_models", + "ordinal": 20, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_upload_w2l_templates", + "ordinal": 21, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_own_tts_models", + "ordinal": 22, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_own_w2l_templates", + "ordinal": 23, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_approve_w2l_templates", + "ordinal": 24, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_edit_other_users_profiles", + "ordinal": 25, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_edit_other_users_tts_models", + "ordinal": 26, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_edit_other_users_w2l_templates", + "ordinal": 27, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_other_users_tts_models", + "ordinal": 28, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_other_users_tts_results", + "ordinal": 29, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_other_users_w2l_templates", + "ordinal": 30, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_other_users_w2l_results", + "ordinal": 31, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_ban_users", + "ordinal": 32, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "can_delete_users", + "ordinal": 33, + "type_info": { + "char_set": 63, + "flags": { + "bits": 0 + }, + "max_size": 1, + "type": "Tiny" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + true, + true, + false, + true, + true, + false, + false, + false, + false, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "parameters": { + "Right": 1 + } + }, + "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\n users.maybe_stripe_customer_id,\n users.maybe_loyalty_program_key,\n\n users.disable_gravatar,\n users.auto_play_audio_preference,\n users.auto_play_video_preference,\n users.preferred_tts_result_visibility as `preferred_tts_result_visibility: enums::common::visibility::Visibility`,\n users.preferred_w2l_result_visibility as `preferred_w2l_result_visibility: enums::common::visibility::Visibility`,\n\n users.user_role_slug,\n users.is_banned,\n\n user_roles.can_use_tts,\n user_roles.can_use_w2l,\n user_roles.can_delete_own_tts_results,\n user_roles.can_delete_own_w2l_results,\n user_roles.can_delete_own_account,\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_tts_results,\n user_roles.can_delete_other_users_w2l_templates,\n user_roles.can_delete_other_users_w2l_results,\n user_roles.can_ban_users,\n user_roles.can_delete_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.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n " + }, "089986414149d2d189f4262f8aa7488d35f6a162a4e56f06c1b897092d37ea20": { "describe": { "columns": [ @@ -1484,6 +1938,265 @@ }, "query": "\nUPDATE tts_inference_jobs\nSET\n status = \"dead\",\n failure_reason = ?,\n internal_debugging_failure_reason = ?,\n last_assigned_worker = ?,\n retry_at = NULL\nWHERE id = ?\n " }, + "1c701cb34689e73e17beb89efd2d7a1898c798ece9ae702d570c97ebf5709768": { + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": { + "char_set": 63, + "flags": { + "bits": 515 + }, + "max_size": 20, + "type": "LongLong" + } + }, + { + "name": "inference_job_token", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "uuid_idempotency_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "model_token", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "raw_inference_text", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "max_duration_seconds", + "ordinal": 5, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 11, + "type": "Long" + } + }, + { + "name": "creator_ip_address", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "maybe_creator_user_token", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "is_from_api", + "ordinal": 9, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_for_twitch", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_debug_request", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "priority_level", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 3, + "type": "Tiny" + } + }, + { + "name": "attempt_count", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 3, + "type": "Long" + } + }, + { + "name": "failure_reason", + "ordinal": 15, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 2048, + "type": "VarString" + } + }, + { + "name": "created_at", + "ordinal": 16, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "retry_at", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + true + ], + "parameters": { + "Right": 2 + } + }, + "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 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 " + }, "1cc62e5cdc8de18969d7e8018d91c38794e5a7d23f117e5b0a4126845f300e60": { "describe": { "columns": [], @@ -1494,7 +2207,7 @@ }, "query": "\nUPDATE user_sessions\nSET deleted_at = CURRENT_TIMESTAMP()\nWHERE\n token = ?\n AND deleted_at IS NULL\n " }, - "20211a1967ca03226c184d6ce8fd33c1270115286b5766f62686b3892d2cb501": { + "219165c1412716d2df3b791a81757180232c5f266384ad7e3e68ded4aa836d47": { "describe": { "columns": [ { @@ -1510,7 +2223,7 @@ } }, { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", "ordinal": 1, "type_info": { "char_set": 224, @@ -1699,292 +2412,7 @@ "Right": 1 } }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n users.username = ?\n AND vocoder.is_mod_disabled_from_public_use IS FALSE\n AND vocoder.is_mod_disabled_from_author_use IS FALSE\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " - }, - "20d0e8625454204993b3d4f839840833a3600d93090636bedd7d0b1f65f2104a": { - "describe": { - "columns": [ - { - "name": "user_token: tokens::users::user::UserToken", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "username", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "display_name", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "email_gravatar_hash", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "profile_markdown", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "profile_rendered_html", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "user_role_slug", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 64, - "type": "VarString" - } - }, - { - "name": "disable_gravatar", - "ordinal": 7, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "preferred_tts_result_visibility: enums::core::visibility::Visibility", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "preferred_w2l_result_visibility: enums::core::visibility::Visibility", - "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "discord_username", - "ordinal": 10, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "twitch_username", - "ordinal": 11, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "twitter_username", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "patreon_username", - "ordinal": 13, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "github_username", - "ordinal": 14, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "cashapp_username", - "ordinal": 15, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "website_url", - "ordinal": 16, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "is_banned", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "maybe_mod_comments", - "ordinal": 18, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_mod_user_token", - "ordinal": 19, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "created_at", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - true, - true, - true, - true, - true, - true, - false, - true, - true, - false - ], - "parameters": { - "Right": 1 - } - }, - "query": "\nSELECT\n users.token as `user_token: tokens::users::user::UserToken`,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n disable_gravatar,\n preferred_tts_result_visibility as `preferred_tts_result_visibility: enums::core::visibility::Visibility`,\n preferred_w2l_result_visibility as `preferred_w2l_result_visibility: enums::core::visibility::Visibility`,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n cashapp_username,\n website_url,\n is_banned,\n maybe_mod_comments,\n maybe_mod_user_token,\n created_at\nFROM users\nWHERE\n users.username = ?\n AND users.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n " + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n users.username = ?\n " }, "28cf5843d68d6cb0e67eb316ef9e7e5fb05a6be2433f86c081576b279167508d": { "describe": { @@ -2512,11 +2940,11 @@ }, "query": "\nSELECT 1 as does_exist\nFROM user_badges\nWHERE\n user_token = ?\nAND\n badge_slug = ?\nLIMIT 1\n " }, - "338059a6cde83d8c5ebcd2d39b3eeefa440119a7532a94acbbbbd1872217cb2e": { + "318805a89d1f7d105eba14b9c19ade4333c9fac54491bbea1fd7fee2006cd569": { "describe": { "columns": [ { - "name": "id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId", + "name": "id", "ordinal": 0, "type_info": { "char_set": 63, @@ -2528,7 +2956,7 @@ } }, { - "name": "inference_job_token: tokens::jobs::inference::InferenceJobToken", + "name": "inference_job_token", "ordinal": 1, "type_info": { "char_set": 224, @@ -2540,8 +2968,20 @@ } }, { - "name": "inference_type: enums::workers::generic_inference_type::GenericInferenceType", + "name": "uuid_idempotency_token", "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "model_token", + "ordinal": 3, "type_info": { "char_set": 224, "flags": { @@ -2552,56 +2992,32 @@ } }, { - "name": "maybe_inference_args", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 144 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "maybe_raw_inference_text", + "name": "raw_inference_text", "ordinal": 4, "type_info": { "char_set": 224, "flags": { - "bits": 144 + "bits": 4241 }, "max_size": 262140, "type": "Blob" } }, { - "name": "maybe_model_token", + "name": "max_duration_seconds", "ordinal": 5, "type_info": { - "char_set": 224, + "char_set": 63, "flags": { - "bits": 136 + "bits": 1 }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_creator_user_token", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" + "max_size": 11, + "type": "Long" } }, { "name": "creator_ip_address", - "ordinal": 7, + "ordinal": 6, "type_info": { "char_set": 224, "flags": { @@ -2612,7 +3028,19 @@ } }, { - "name": "creator_set_visibility: enums::core::visibility::Visibility", + "name": "maybe_creator_user_token", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", "ordinal": 8, "type_info": { "char_set": 224, @@ -2624,56 +3052,8 @@ } }, { - "name": "status: crate::column_types::job_status::JobStatus", + "name": "is_from_api", "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 64, - "type": "String" - } - }, - { - "name": "attempt_count", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 5, - "type": "Short" - } - }, - { - "name": "priority_level", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 41 - }, - "max_size": 5, - "type": "Short" - } - }, - { - "name": "is_from_premium_user", - "ordinal": 12, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_from_api_user", - "ordinal": 13, "type_info": { "char_set": 63, "flags": { @@ -2685,7 +3065,7 @@ }, { "name": "is_for_twitch", - "ordinal": 14, + "ordinal": 10, "type_info": { "char_set": 63, "flags": { @@ -2697,7 +3077,7 @@ }, { "name": "is_debug_request", - "ordinal": 15, + "ordinal": 11, "type_info": { "char_set": 63, "flags": { @@ -2707,6 +3087,54 @@ "type": "Tiny" } }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "priority_level", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 3, + "type": "Tiny" + } + }, + { + "name": "attempt_count", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 3, + "type": "Long" + } + }, + { + "name": "failure_reason", + "ordinal": 15, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 2048, + "type": "VarString" + } + }, { "name": "created_at", "ordinal": 16, @@ -2748,9 +3176,10 @@ false, false, false, - true, - true, - true, + false, + false, + false, + false, true, false, false, @@ -2759,8 +3188,7 @@ false, false, false, - false, - false, + true, false, false, true @@ -2769,7 +3197,7 @@ "Right": 3 } }, - "query": "\nSELECT\n id as `id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId`,\n token AS `inference_job_token: tokens::jobs::inference::InferenceJobToken`,\n\n inference_type as `inference_type: enums::workers::generic_inference_type::GenericInferenceType`,\n maybe_inference_args,\n maybe_raw_inference_text,\n maybe_model_token,\n\n maybe_creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::core::visibility::Visibility`,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n\n attempt_count,\n priority_level,\n is_from_premium_user,\n is_from_api_user,\n is_for_twitch,\n is_debug_request,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_inference_jobs\nWHERE\n (\n inference_type IN (?)\n )\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 AND\n (\n is_debug_request = ?\n )\n ORDER BY priority_level DESC, id ASC\n LIMIT ?\n " + "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 " }, "34364f9bc851971f8291f5f9942dd23d10718ccb210a93a236d96d0591f65f35": { "describe": { @@ -2801,6 +3229,213 @@ }, "query": "\nINSERT INTO w2l_result_synthetic_ids\nSET\n user_token = ?,\n next_id = 1\nON DUPLICATE KEY UPDATE\n user_token = ?,\n next_id = next_id + 1\n " }, + "359be6ce263afd62fc748c14c06c62ded5ed59fc0a9d1186967028af400d7d61": { + "describe": { + "columns": [ + { + "name": "vocoder_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_user_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_username", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_display_name", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_gravatar_hash", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "title", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "is_staff_recommended", + "ordinal": 7, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_public_use", + "ordinal": 8, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_author_use", + "ordinal": 9, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_author_editing_locked", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "created_at", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + true + ], + "parameters": { + "Right": 1 + } + }, + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n users.username = ?\n AND vocoder.is_mod_disabled_from_public_use IS FALSE\n AND vocoder.is_mod_disabled_from_author_use IS FALSE\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " + }, "369a7576edc128cf2b310648d6fc45a2191c1263d433fe6d1461d15dbf26690e": { "describe": { "columns": [], @@ -3146,6 +3781,498 @@ }, "query": "\nSELECT count(*) as count\nFROM vocoder_models\nWHERE\n creator_user_token = ?\n AND vocoder_type = 'hifigan_rocket_vc'\nLIMIT 1\n " }, + "450714d30eada676f800bc61750f7a4aa0c800c48af920dba73f31bae7862fee": { + "describe": { + "columns": [ + { + "name": "vocoder_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_user_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_username", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_display_name", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_gravatar_hash", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "title", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "is_staff_recommended", + "ordinal": 7, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_public_use", + "ordinal": 8, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_author_use", + "ordinal": 9, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_author_editing_locked", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "created_at", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + true + ], + "parameters": { + "Right": 0 + } + }, + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.is_mod_disabled_from_public_use IS FALSE\n AND vocoder.is_mod_disabled_from_author_use IS FALSE\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " + }, + "45ec7d47b09e0605e7ca2ed0dc7c2833bcfdbb5db97787004b8c6597aad93b56": { + "describe": { + "columns": [ + { + "name": "vocoder_token", + "ordinal": 0, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_user_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_username", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_display_name", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 80, + "type": "VarString" + } + }, + { + "name": "creator_gravatar_hash", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "creator_is_banned", + "ordinal": 6, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "title", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "description_markdown", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "description_rendered_html", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "is_staff_recommended", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_public_use", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_author_use", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_author_editing_locked", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 14, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "created_at", + "ordinal": 15, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 16, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "creator_ip_address_creation", + "ordinal": 17, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_ip_address_last_update", + "ordinal": 18, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 19, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 20, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + true + ], + "parameters": { + "Right": 1 + } + }, + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n\n vocoder.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 vocoder.title,\n vocoder.description_markdown,\n vocoder.description_rendered_html,\n vocoder.is_staff_recommended,\n\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n\n vocoder.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n vocoder.created_at,\n vocoder.updated_at,\n\n vocoder.creator_ip_address_creation,\n vocoder.creator_ip_address_last_update,\n vocoder.mod_deleted_at,\n vocoder.user_deleted_at\n\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.token = ?\n " + }, "46e1cb058bffbea5a5d3ffa5dd904416d6f34ccefdb394030f19cc762b507d68": { "describe": { "columns": [ @@ -3859,24 +4986,12 @@ }, "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 users.is_banned as maybe_creator_is_banned,\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 template_users.is_banned as maybe_template_creator_is_banned,\n\n w2l_results.creator_set_visibility,\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\n w2l_results.creator_ip_address,\n w2l_results.user_deleted_at,\n w2l_results.mod_deleted_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.token = ?\n AND w2l_results.user_deleted_at IS NULL\n AND w2l_results.mod_deleted_at IS NULL\n " }, - "520b1bc56e614c1e83f637bc040a6e48faf62dad7ea195a6c09597b81c9cf1b2": { + "521945dd4271b04e4607b30d5bee3b82b8e030405f48a320d0ee2827ddd59e4b": { "describe": { "columns": [ { - "name": "id", + "name": "vocoder_token", "ordinal": 0, - "type_info": { - "char_set": 63, - "flags": { - "bits": 515 - }, - "max_size": 20, - "type": "LongLong" - } - }, - { - "name": "download_job_token: tokens::jobs::download::DownloadJobToken", - "ordinal": 1, "type_info": { "char_set": 224, "flags": { @@ -3886,6 +5001,18 @@ "type": "VarString" } }, + { + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "VarString" + } + }, { "name": "creator_user_token", "ordinal": 2, @@ -3899,53 +5026,53 @@ } }, { - "name": "creator_ip_address", + "name": "creator_username", "ordinal": 3, "type_info": { "char_set": 224, "flags": { - "bits": 4233 + "bits": 4229 }, - "max_size": 160, + "max_size": 80, "type": "VarString" } }, { - "name": "creator_set_visibility: enums::core::visibility::Visibility", + "name": "creator_display_name", "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "download_type: enums::workers::generic_download_type::GenericDownloadType", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "download_url", - "ordinal": 6, "type_info": { "char_set": 224, "flags": { "bits": 4225 }, - "max_size": 2048, + "max_size": 80, "type": "VarString" } }, + { + "name": "creator_gravatar_hash", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 128, + "type": "String" + } + }, + { + "name": "creator_is_banned", + "ordinal": 6, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, { "name": "title", "ordinal": 7, @@ -3959,44 +5086,92 @@ } }, { - "name": "status: crate::column_types::job_status::JobStatus", + "name": "description_markdown", "ordinal": 8, "type_info": { "char_set": 224, "flags": { - "bits": 393 + "bits": 4241 }, - "max_size": 64, - "type": "String" + "max_size": 262140, + "type": "Blob" } }, { - "name": "attempt_count", + "name": "description_rendered_html", "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4241 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "is_staff_recommended", + "ordinal": 10, "type_info": { "char_set": 63, "flags": { "bits": 1 }, - "max_size": 3, - "type": "Long" + "max_size": 1, + "type": "Tiny" } }, { - "name": "failure_reason", - "ordinal": 10, + "name": "is_mod_disabled_from_public_use", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_disabled_from_author_use", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_mod_author_editing_locked", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 14, "type_info": { "char_set": 224, "flags": { - "bits": 128 + "bits": 393 }, - "max_size": 2048, - "type": "VarString" + "max_size": 28, + "type": "String" } }, { "name": "created_at", - "ordinal": 11, + "ordinal": 15, "type_info": { "char_set": 63, "flags": { @@ -4008,7 +5183,7 @@ }, { "name": "updated_at", - "ordinal": 12, + "ordinal": 16, "type_info": { "char_set": 63, "flags": { @@ -4019,8 +5194,44 @@ } }, { - "name": "retry_at", - "ordinal": 13, + "name": "creator_ip_address_creation", + "ordinal": 17, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_ip_address_last_update", + "ordinal": 18, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "mod_deleted_at", + "ordinal": 19, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "user_deleted_at", + "ordinal": 20, "type_info": { "char_set": 63, "flags": { @@ -4032,6 +5243,15 @@ } ], "nullable": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, false, false, false, @@ -4043,15 +5263,13 @@ false, false, true, - false, - false, true ], "parameters": { "Right": 1 } }, - "query": "\nSELECT\n id,\n token AS `download_job_token: tokens::jobs::download::DownloadJobToken`,\n\n creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::core::visibility::Visibility`,\n\n download_type as `download_type: enums::workers::generic_download_type::GenericDownloadType`,\n download_url,\n title,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n attempt_count,\n failure_reason,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_download_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 ORDER BY id ASC\n LIMIT ?\n " + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n\n vocoder.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 vocoder.title,\n vocoder.description_markdown,\n vocoder.description_rendered_html,\n vocoder.is_staff_recommended,\n\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n\n vocoder.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n vocoder.created_at,\n vocoder.updated_at,\n\n vocoder.creator_ip_address_creation,\n vocoder.creator_ip_address_last_update,\n vocoder.mod_deleted_at,\n vocoder.user_deleted_at\n\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.token = ?\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " }, "551749bc153f9c8683a3a1ca5bb50744322aac046db34327501cf991485c4dee": { "describe": { @@ -4073,11 +5291,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 version = version + 1\nWHERE token = ?\nLIMIT 1\n " }, - "580a36123edf73adfcbc292ade86d3fbd5d8f23a0df56ef247fa97a1ff30ed52": { + "584ce6a20f727db4fb914d1cb77828446b5e965572f59398e7b7809b676eb5d8": { "describe": { "columns": [ { - "name": "model_token", + "name": "user_token: tokens::users::user::UserToken", "ordinal": 0, "type_info": { "char_set": 224, @@ -4089,104 +5307,8 @@ } }, { - "name": "tts_model_type", + "name": "username", "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": "maybe_default_pretrained_vocoder", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_token", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_type: enums::ml::vocoder_type::VocoderType", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_title", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4224 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_custom_vocoder_private_bucket_hash", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4232 - }, - "max_size": 256, - "type": "String" - } - }, - { - "name": "creator_user_token", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 9, "type_info": { "char_set": 224, "flags": { @@ -4197,8 +5319,8 @@ } }, { - "name": "creator_display_name", - "ordinal": 10, + "name": "display_name", + "ordinal": 2, "type_info": { "char_set": 224, "flags": { @@ -4209,156 +5331,19 @@ } }, { - "name": "title", - "ordinal": 11, + "name": "email_gravatar_hash", + "ordinal": 3, "type_info": { "char_set": 224, "flags": { "bits": 4225 }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "private_bucket_hash", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 256, + "max_size": 128, "type": "String" } }, { - "name": "created_at", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - true, - true, - true, - true, - true, - true, - false, - false, - false, - 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\n tts.maybe_default_pretrained_vocoder,\n\n tts.maybe_custom_vocoder_token,\n vocoder.vocoder_type as `maybe_custom_vocoder_type: enums::ml::vocoder_type::VocoderType`,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder.private_bucket_hash as maybe_custom_vocoder_private_bucket_hash,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.private_bucket_hash,\n tts.created_at,\n tts.updated_at,\n tts.user_deleted_at,\n tts.mod_deleted_at\n\nFROM tts_models as tts\n\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\n\nWHERE tts.token = ?\n " - }, - "5814cd2eba2be1016158f01381798eaabbd89aa7c1c11e2cfbbca90a56b4856d": { - "describe": { - "columns": [ - { - "name": "id", - "ordinal": 0, - "type_info": { - "char_set": 63, - "flags": { - "bits": 515 - }, - "max_size": 20, - "type": "LongLong" - } - }, - { - "name": "inference_job_token", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "uuid_idempotency_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "model_token", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "raw_inference_text", + "name": "profile_markdown", "ordinal": 4, "type_info": { "char_set": 224, @@ -4370,43 +5355,43 @@ } }, { - "name": "max_duration_seconds", + "name": "profile_rendered_html", "ordinal": 5, "type_info": { - "char_set": 63, + "char_set": 224, "flags": { - "bits": 1 + "bits": 4241 }, - "max_size": 11, - "type": "Long" + "max_size": 262140, + "type": "Blob" } }, { - "name": "creator_ip_address", + "name": "user_role_slug", "ordinal": 6, "type_info": { "char_set": 224, "flags": { "bits": 4233 }, - "max_size": 160, + "max_size": 64, "type": "VarString" } }, { - "name": "maybe_creator_user_token", + "name": "disable_gravatar", "ordinal": 7, "type_info": { - "char_set": 224, + "char_set": 63, "flags": { - "bits": 136 + "bits": 1 }, - "max_size": 128, - "type": "VarString" + "max_size": 1, + "type": "Tiny" } }, { - "name": "creator_set_visibility: enums::core::visibility::Visibility", + "name": "preferred_tts_result_visibility: enums::common::visibility::Visibility", "ordinal": 8, "type_info": { "char_set": 224, @@ -4418,92 +5403,140 @@ } }, { - "name": "is_from_api", + "name": "preferred_w2l_result_visibility: enums::common::visibility::Visibility", "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_for_twitch", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_debug_request", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "status: crate::column_types::job_status::JobStatus", - "ordinal": 12, "type_info": { "char_set": 224, "flags": { - "bits": 393 + "bits": 385 }, - "max_size": 64, + "max_size": 28, "type": "String" } }, { - "name": "priority_level", + "name": "discord_username", + "ordinal": 10, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "twitch_username", + "ordinal": 11, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "twitter_username", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "patreon_username", "ordinal": 13, "type_info": { - "char_set": 63, + "char_set": 224, "flags": { - "bits": 33 + "bits": 128 }, - "max_size": 3, - "type": "Tiny" + "max_size": 144, + "type": "VarString" } }, { - "name": "attempt_count", + "name": "github_username", "ordinal": 14, "type_info": { - "char_set": 63, + "char_set": 224, "flags": { - "bits": 1 + "bits": 128 }, - "max_size": 3, - "type": "Long" + "max_size": 144, + "type": "VarString" } }, { - "name": "failure_reason", + "name": "cashapp_username", "ordinal": 15, "type_info": { "char_set": 224, "flags": { "bits": 128 }, - "max_size": 2048, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "website_url", + "ordinal": 16, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "is_banned", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "maybe_mod_comments", + "ordinal": 18, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_mod_user_token", + "ordinal": 19, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 128, "type": "VarString" } }, { "name": "created_at", - "ordinal": 16, + "ordinal": 20, "type_info": { "char_set": 63, "flags": { @@ -4512,30 +5545,6 @@ "max_size": 19, "type": "Timestamp" } - }, - { - "name": "updated_at", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "retry_at", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } } ], "nullable": [ @@ -4546,24 +5555,26 @@ false, false, false, - true, - false, - false, - false, - false, false, false, false, true, + true, + true, + true, + true, + true, + true, false, - false, - true + true, + true, + false ], "parameters": { - "Right": 2 + "Right": 1 } }, - "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::core::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 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 LIMIT ?\n " + "query": "\nSELECT\n users.token as `user_token: tokens::users::user::UserToken`,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n disable_gravatar,\n preferred_tts_result_visibility as `preferred_tts_result_visibility: enums::common::visibility::Visibility`,\n preferred_w2l_result_visibility as `preferred_w2l_result_visibility: enums::common::visibility::Visibility`,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n cashapp_username,\n website_url,\n is_banned,\n maybe_mod_comments,\n maybe_mod_user_token,\n created_at\nFROM users\nWHERE\n users.username = ?\n AND users.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n " }, "5e4a00c339ce4d7fac19aff728449156b1e02b9e1d9fd534ac37d4ac79f44820": { "describe": { @@ -4663,6 +5674,265 @@ }, "query": "\nUPDATE w2l_results\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n " }, + "68e57383ab5137f08f31ca6f06037cb3a13e9afa9328c6b786401152cb91949f": { + "describe": { + "columns": [ + { + "name": "id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId", + "ordinal": 0, + "type_info": { + "char_set": 63, + "flags": { + "bits": 515 + }, + "max_size": 20, + "type": "LongLong" + } + }, + { + "name": "inference_job_token: tokens::jobs::inference::InferenceJobToken", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "inference_type: enums::workers::generic_inference_type::GenericInferenceType", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_inference_args", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 144 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "maybe_raw_inference_text", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 144 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "maybe_model_token", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_creator_user_token", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_ip_address", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "attempt_count", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 5, + "type": "Short" + } + }, + { + "name": "priority_level", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 41 + }, + "max_size": 5, + "type": "Short" + } + }, + { + "name": "is_from_premium_user", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_from_api_user", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_for_twitch", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_debug_request", + "ordinal": 15, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "created_at", + "ordinal": 16, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "retry_at", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + true, + true, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true + ], + "parameters": { + "Right": 3 + } + }, + "query": "\nSELECT\n id as `id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId`,\n token AS `inference_job_token: tokens::jobs::inference::InferenceJobToken`,\n\n inference_type as `inference_type: enums::workers::generic_inference_type::GenericInferenceType`,\n maybe_inference_args,\n maybe_raw_inference_text,\n maybe_model_token,\n\n maybe_creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n\n attempt_count,\n priority_level,\n is_from_premium_user,\n is_from_api_user,\n is_for_twitch,\n is_debug_request,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_inference_jobs\nWHERE\n (\n inference_type IN (?)\n )\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 AND\n (\n is_debug_request = ?\n )\n ORDER BY id ASC\n LIMIT ?\n " + }, "6aaa7c04e6984434bd2feb6f42a9014cd45e995b94e4d5e29f2d502f09136691": { "describe": { "columns": [], @@ -4834,213 +6104,6 @@ }, "query": "\nSELECT\n jobs.token as `job_token: tokens::jobs::download::DownloadJobToken`,\n\n jobs.status,\n jobs.attempt_count,\n jobs.on_success_downloaded_entity_token as maybe_downloaded_entity_token,\n jobs.on_success_downloaded_entity_type as maybe_downloaded_entity_type,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM generic_download_jobs as jobs\n\nWHERE jobs.token = ?\n " }, - "72c1f21920495e200d2dd55bf6c7236f7ad96a05fe99deb202179b40c4ec3bfe": { - "describe": { - "columns": [ - { - "name": "vocoder_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_user_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_display_name", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_gravatar_hash", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "title", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "is_staff_recommended", - "ordinal": 7, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_public_use", - "ordinal": 8, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_author_use", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_author_editing_locked", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "created_at", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 12, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - true - ], - "parameters": { - "Right": 0 - } - }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\n " - }, "73558104936aab6add2d9c789b368b5f155f1fe01d32e7314f2f120422866f54": { "describe": { "columns": [], @@ -6761,265 +7824,6 @@ }, "query": "\nUPDATE twitch_event_rules\nSET\n event_match_predicate = ?,\n event_response = ?,\n rule_is_disabled = ?,\n ip_address_last_update = ?\nWHERE\n token = ?\n AND deleted_at IS NULL\nLIMIT 1\n " }, - "8cd468e8e0af9d881285b16fa8776a20908781a770242b23884ce81a836f2a36": { - "describe": { - "columns": [ - { - "name": "id", - "ordinal": 0, - "type_info": { - "char_set": 63, - "flags": { - "bits": 515 - }, - "max_size": 20, - "type": "LongLong" - } - }, - { - "name": "inference_job_token", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "uuid_idempotency_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "model_token", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "raw_inference_text", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "max_duration_seconds", - "ordinal": 5, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 11, - "type": "Long" - } - }, - { - "name": "creator_ip_address", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "maybe_creator_user_token", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "is_from_api", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_for_twitch", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_debug_request", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "status: crate::column_types::job_status::JobStatus", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 64, - "type": "String" - } - }, - { - "name": "priority_level", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 3, - "type": "Tiny" - } - }, - { - "name": "attempt_count", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 3, - "type": "Long" - } - }, - { - "name": "failure_reason", - "ordinal": 15, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 2048, - "type": "VarString" - } - }, - { - "name": "created_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "retry_at", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - true - ], - "parameters": { - "Right": 3 - } - }, - "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::core::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 " - }, "8d267a609157e6459393ffa32ea83996dcf135c52ee8a930d5be628802d97371": { "describe": { "columns": [], @@ -7497,265 +8301,6 @@ }, "query": "\nINSERT INTO w2l_templates\nSET\n token = ?,\n template_type = ?,\n title = ?,\n description_markdown = '',\n description_rendered_html = '',\n creator_user_token = ?,\n creator_ip_address_creation = ?,\n creator_ip_address_last_update = ?,\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 " }, - "9aeeb737b249721d6ee8e8c881635357678aff9cad5440e1d77b9844457d0702": { - "describe": { - "columns": [ - { - "name": "id", - "ordinal": 0, - "type_info": { - "char_set": 63, - "flags": { - "bits": 515 - }, - "max_size": 20, - "type": "LongLong" - } - }, - { - "name": "inference_job_token", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "uuid_idempotency_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 144, - "type": "VarString" - } - }, - { - "name": "model_token", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "raw_inference_text", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "max_duration_seconds", - "ordinal": 5, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 11, - "type": "Long" - } - }, - { - "name": "creator_ip_address", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "maybe_creator_user_token", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "is_from_api", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_for_twitch", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_debug_request", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "status: crate::column_types::job_status::JobStatus", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 64, - "type": "String" - } - }, - { - "name": "priority_level", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 3, - "type": "Tiny" - } - }, - { - "name": "attempt_count", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 3, - "type": "Long" - } - }, - { - "name": "failure_reason", - "ordinal": 15, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 2048, - "type": "VarString" - } - }, - { - "name": "created_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "retry_at", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - false, - true, - false, - false, - true - ], - "parameters": { - "Right": 2 - } - }, - "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::core::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 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 " - }, "9b63758edee6341cb417073775eea2782137c680c1827189d6f7a93c40d70e44": { "describe": { "columns": [ @@ -7983,11 +8528,11 @@ }, "query": "\nINSERT INTO generic_download_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n download_type = ?,\n download_url = ?,\n title = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n " }, - "a0d00aefff350c2ec1053bced968addcadb59372ccf3352474b2b605ed7ee485": { + "a0f316dcf665b78efda63d72356c4a3c0a7870233ef148d698e1d746f3691b13": { "describe": { "columns": [ { - "name": "vocoder_token", + "name": "model_token", "ordinal": 0, "type_info": { "char_set": 224, @@ -7999,20 +8544,92 @@ } }, { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", + "name": "tts_model_type", "ordinal": 1, "type_info": { "char_set": 224, "flags": { - "bits": 4225 + "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": "maybe_default_pretrained_vocoder", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_token", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 }, "max_size": 128, "type": "VarString" } }, + { + "name": "maybe_custom_vocoder_type: enums::common::vocoder_type::VocoderType", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_title", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4224 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_custom_vocoder_private_bucket_hash", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4232 + }, + "max_size": 256, + "type": "String" + } + }, { "name": "creator_user_token", - "ordinal": 2, + "ordinal": 8, "type_info": { "char_set": 224, "flags": { @@ -8024,7 +8641,7 @@ }, { "name": "creator_username", - "ordinal": 3, + "ordinal": 9, "type_info": { "char_set": 224, "flags": { @@ -8036,7 +8653,7 @@ }, { "name": "creator_display_name", - "ordinal": 4, + "ordinal": 10, "type_info": { "char_set": 224, "flags": { @@ -8046,21 +8663,9 @@ "type": "VarString" } }, - { - "name": "creator_gravatar_hash", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, { "name": "title", - "ordinal": 6, + "ordinal": 11, "type_info": { "char_set": 224, "flags": { @@ -8071,56 +8676,20 @@ } }, { - "name": "is_staff_recommended", - "ordinal": 7, + "name": "private_bucket_hash", + "ordinal": 12, "type_info": { - "char_set": 63, + "char_set": 224, "flags": { - "bits": 1 + "bits": 4233 }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_public_use", - "ordinal": 8, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_author_use", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_author_editing_locked", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" + "max_size": 256, + "type": "String" } }, { "name": "created_at", - "ordinal": 11, + "ordinal": 13, "type_info": { "char_set": 63, "flags": { @@ -8132,7 +8701,7 @@ }, { "name": "updated_at", - "ordinal": 12, + "ordinal": 14, "type_info": { "char_set": 63, "flags": { @@ -8144,7 +8713,7 @@ }, { "name": "user_deleted_at", - "ordinal": 13, + "ordinal": 15, "type_info": { "char_set": 63, "flags": { @@ -8156,7 +8725,7 @@ }, { "name": "mod_deleted_at", - "ordinal": 14, + "ordinal": 16, "type_info": { "char_set": 63, "flags": { @@ -8170,10 +8739,12 @@ "nullable": [ false, false, - false, - false, - false, - false, + true, + true, + true, + true, + true, + true, false, false, false, @@ -8188,7 +8759,7 @@ "Right": 1 } }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n users.username = ?\n " + "query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_pipeline_type,\n\n tts.maybe_default_pretrained_vocoder,\n\n tts.maybe_custom_vocoder_token,\n vocoder.vocoder_type as `maybe_custom_vocoder_type: enums::common::vocoder_type::VocoderType`,\n vocoder.title as maybe_custom_vocoder_title,\n vocoder.private_bucket_hash as maybe_custom_vocoder_private_bucket_hash,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.private_bucket_hash,\n tts.created_at,\n tts.updated_at,\n tts.user_deleted_at,\n tts.mod_deleted_at\n\nFROM tts_models as tts\n\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\n\nWHERE tts.token = ?\n " }, "a125f183f7ae5627fc2118e7302cea73d967200ba1cbb12550f5880187b7db5e": { "describe": { @@ -9166,291 +9737,6 @@ }, "query": "\nINSERT INTO api_tokens\nSET\n internal_token = ?,\n api_token = ?,\n user_token = ?,\n uuid_idempotency_token = ?,\n ip_address_creation = ?,\n ip_address_last_update = ?\n " }, - "b0b0a2e04201c22159cb5273ae54e703bc38c3422cf7b3337135b2e0155f993d": { - "describe": { - "columns": [ - { - "name": "vocoder_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_user_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_display_name", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_gravatar_hash", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "creator_is_banned", - "ordinal": 6, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "title", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "description_markdown", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "description_rendered_html", - "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "is_staff_recommended", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_public_use", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_author_use", - "ordinal": 12, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_author_editing_locked", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 14, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "created_at", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "creator_ip_address_creation", - "ordinal": 17, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "creator_ip_address_last_update", - "ordinal": 18, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 19, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - true - ], - "parameters": { - "Right": 1 - } - }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n\n vocoder.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 vocoder.title,\n vocoder.description_markdown,\n vocoder.description_rendered_html,\n vocoder.is_staff_recommended,\n\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n\n vocoder.creator_set_visibility as `creator_set_visibility: enums::core::visibility::Visibility`,\n\n vocoder.created_at,\n vocoder.updated_at,\n\n vocoder.creator_ip_address_creation,\n vocoder.creator_ip_address_last_update,\n vocoder.mod_deleted_at,\n vocoder.user_deleted_at\n\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.token = ?\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " - }, "b1ad806aa93f66cab358d7cdb405d57c643e2ff131cfec9f1ced55c2e6ca9511": { "describe": { "columns": [], @@ -10322,460 +10608,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.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.user_deleted_at IS NULL\nAND w2l.mod_deleted_at IS NULL\n " }, - "bd494234937d87c6b7ac891eaab8eceba7b19ffe5a639c1aa45842255d007b41": { - "describe": { - "columns": [ - { - "name": "user_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "username", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "display_name", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "email_address", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "email_confirmed", - "ordinal": 4, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "email_gravatar_hash", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "maybe_stripe_customer_id", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_loyalty_program_key", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "disable_gravatar", - "ordinal": 8, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "auto_play_audio_preference", - "ordinal": 9, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "auto_play_video_preference", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "preferred_tts_result_visibility: enums::core::visibility::Visibility", - "ordinal": 11, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "preferred_w2l_result_visibility: enums::core::visibility::Visibility", - "ordinal": 12, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "user_role_slug", - "ordinal": 13, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 64, - "type": "VarString" - } - }, - { - "name": "is_banned", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_use_tts", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_use_w2l", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_own_tts_results", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_own_w2l_results", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_own_account", - "ordinal": 19, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_upload_tts_models", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_upload_w2l_templates", - "ordinal": 21, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_own_tts_models", - "ordinal": 22, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_own_w2l_templates", - "ordinal": 23, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_approve_w2l_templates", - "ordinal": 24, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_edit_other_users_profiles", - "ordinal": 25, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_edit_other_users_tts_models", - "ordinal": 26, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_edit_other_users_w2l_templates", - "ordinal": 27, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_other_users_tts_models", - "ordinal": 28, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_other_users_tts_results", - "ordinal": 29, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_other_users_w2l_templates", - "ordinal": 30, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_other_users_w2l_results", - "ordinal": 31, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_ban_users", - "ordinal": 32, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "can_delete_users", - "ordinal": 33, - "type_info": { - "char_set": 63, - "flags": { - "bits": 0 - }, - "max_size": 1, - "type": "Tiny" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - true, - true, - false, - true, - true, - false, - false, - false, - false, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true, - true - ], - "parameters": { - "Right": 1 - } - }, - "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\n users.maybe_stripe_customer_id,\n users.maybe_loyalty_program_key,\n\n users.disable_gravatar,\n users.auto_play_audio_preference,\n users.auto_play_video_preference,\n users.preferred_tts_result_visibility as `preferred_tts_result_visibility: enums::core::visibility::Visibility`,\n users.preferred_w2l_result_visibility as `preferred_w2l_result_visibility: enums::core::visibility::Visibility`,\n\n users.user_role_slug,\n users.is_banned,\n\n user_roles.can_use_tts,\n user_roles.can_use_w2l,\n user_roles.can_delete_own_tts_results,\n user_roles.can_delete_own_w2l_results,\n user_roles.can_delete_own_account,\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_tts_results,\n user_roles.can_delete_other_users_w2l_templates,\n user_roles.can_delete_other_users_w2l_results,\n user_roles.can_ban_users,\n user_roles.can_delete_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.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n " - }, "bf489cf419d342d144f072c310d6d70c9073b092b5721f489eaf2ffc8ad3915e": { "describe": { "columns": [], @@ -10821,6 +10653,200 @@ }, "query": "\nUPDATE w2l_templates\nSET\n maybe_mod_user_token = ?,\n mod_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n " }, + "c5959e2cc13e007392ce136ec41a2bc1ead7571e602f30e99528a93aeb699de2": { + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": { + "char_set": 63, + "flags": { + "bits": 515 + }, + "max_size": 20, + "type": "LongLong" + } + }, + { + "name": "download_job_token: tokens::jobs::download::DownloadJobToken", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_user_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_ip_address", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "download_type: enums::workers::generic_download_type::GenericDownloadType", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "download_url", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 2048, + "type": "VarString" + } + }, + { + "name": "title", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4225 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "attempt_count", + "ordinal": 9, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 3, + "type": "Long" + } + }, + { + "name": "failure_reason", + "ordinal": 10, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 2048, + "type": "VarString" + } + }, + { + "name": "created_at", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "retry_at", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + true + ], + "parameters": { + "Right": 1 + } + }, + "query": "\nSELECT\n id,\n token AS `download_job_token: tokens::jobs::download::DownloadJobToken`,\n\n creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n download_type as `download_type: enums::workers::generic_download_type::GenericDownloadType`,\n download_url,\n title,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n attempt_count,\n failure_reason,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_download_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 ORDER BY id ASC\n LIMIT ?\n " + }, "c7b4fecd829bddaeff77a6ce2240e2b939c5faac4a94da56aefd2a27eb9ed64a": { "describe": { "columns": [ @@ -11204,6 +11230,304 @@ }, "query": "\nUPDATE tts_inference_jobs\nSET status='complete_failure'\nWHERE\n status IN ('pending')\n AND priority_level = 0;\n " }, + "ce8560e2ff8c879647c7b9f154a8987765272c53f95b9e6a8b8ee5c4ad7b1f17": { + "describe": { + "columns": [ + { + "name": "id", + "ordinal": 0, + "type_info": { + "char_set": 63, + "flags": { + "bits": 515 + }, + "max_size": 20, + "type": "LongLong" + } + }, + { + "name": "inference_job_token", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "uuid_idempotency_token", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 144, + "type": "VarString" + } + }, + { + "name": "maybe_w2l_template_token", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_public_image_bucket_location", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_tts_inference_result_token", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_public_audio_bucket_hash", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 256, + "type": "VarString" + } + }, + { + "name": "maybe_public_audio_bucket_location", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "VarString" + } + }, + { + "name": "maybe_original_audio_filename", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 1020, + "type": "String" + } + }, + { + "name": "maybe_original_audio_download_url", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 2048, + "type": "VarString" + } + }, + { + "name": "maybe_audio_mime_type", + "ordinal": 10, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_ip_address", + "ordinal": 11, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "maybe_creator_user_token", + "ordinal": 12, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 13, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "disable_end_bump", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "disable_watermark", + "ordinal": 15, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "status", + "ordinal": 16, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "attempt_count", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 3, + "type": "Long" + } + }, + { + "name": "failure_reason", + "ordinal": 18, + "type_info": { + "char_set": 224, + "flags": { + "bits": 128 + }, + "max_size": 2048, + "type": "VarString" + } + }, + { + "name": "created_at", + "ordinal": 19, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 20, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "retry_at", + "ordinal": 21, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + true, + true, + true, + true, + true, + true, + true, + true, + false, + true, + false, + false, + false, + false, + false, + true, + false, + false, + true + ], + "parameters": { + "Right": 1 + } + }, + "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 as `creator_set_visibility: enums::common::visibility::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 " + }, "d12757abef811cd6951e0e1427fdb496a8931b547519d320f5ade56007d3eb5d": { "describe": { "columns": [ @@ -11242,7 +11566,7 @@ }, "query": "\nSELECT\n id,\n status\nFROM w2l_template_upload_jobs\nWHERE id = ?\nFOR UPDATE\n " }, - "d276a86477df4dfe344395a275b1893386ce801f34c984a2c7a94737f0c6b65a": { + "d220a1ea63e301deed98e4b3029dfc531e28196ec02ed4cf076646582b81099c": { "describe": { "columns": [ { @@ -11258,7 +11582,7 @@ } }, { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", + "name": "vocoder_type: enums::common::vocoder_type::VocoderType", "ordinal": 1, "type_info": { "char_set": 224, @@ -11447,7 +11771,7 @@ "Right": 0 } }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.is_mod_disabled_from_public_use IS FALSE\n AND vocoder.is_mod_disabled_from_author_use IS FALSE\n AND vocoder.user_deleted_at IS NULL\n AND vocoder.mod_deleted_at IS NULL\n " + "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::common::vocoder_type::VocoderType`,\n vocoder.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 vocoder.title,\n vocoder.is_staff_recommended,\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n vocoder.created_at,\n vocoder.updated_at,\n vocoder.user_deleted_at,\n vocoder.mod_deleted_at\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\n " }, "d296305a192f3c5b55c65ee6b55b068a12b99f2d705ba36d3d34da8e1ef46e6e": { "describe": { @@ -11484,265 +11808,6 @@ }, "query": "\nUPDATE api_tokens\nSET\n deleted_at = CURRENT_TIMESTAMP,\n ip_address_last_update = ?\nWHERE\n user_token = ?\nAND api_token NOT IN (?, ?, ?, ?, ?)\n " }, - "d5a7b0c4771560ff1808d45fb8cde36424826d713b6d78c49b3f83dc11706921": { - "describe": { - "columns": [ - { - "name": "id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId", - "ordinal": 0, - "type_info": { - "char_set": 63, - "flags": { - "bits": 515 - }, - "max_size": 20, - "type": "LongLong" - } - }, - { - "name": "inference_job_token: tokens::jobs::inference::InferenceJobToken", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "inference_type: enums::workers::generic_inference_type::GenericInferenceType", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_inference_args", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 144 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "maybe_raw_inference_text", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 144 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "maybe_model_token", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_creator_user_token", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 136 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_ip_address", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 385 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "status: crate::column_types::job_status::JobStatus", - "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 64, - "type": "String" - } - }, - { - "name": "attempt_count", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 33 - }, - "max_size": 5, - "type": "Short" - } - }, - { - "name": "priority_level", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 41 - }, - "max_size": 5, - "type": "Short" - } - }, - { - "name": "is_from_premium_user", - "ordinal": 12, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_from_api_user", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_for_twitch", - "ordinal": 14, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_debug_request", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "created_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 17, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "retry_at", - "ordinal": 18, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - true, - true, - true, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true - ], - "parameters": { - "Right": 3 - } - }, - "query": "\nSELECT\n id as `id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId`,\n token AS `inference_job_token: tokens::jobs::inference::InferenceJobToken`,\n\n inference_type as `inference_type: enums::workers::generic_inference_type::GenericInferenceType`,\n maybe_inference_args,\n maybe_raw_inference_text,\n maybe_model_token,\n\n maybe_creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::core::visibility::Visibility`,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n\n attempt_count,\n priority_level,\n is_from_premium_user,\n is_from_api_user,\n is_for_twitch,\n is_debug_request,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_inference_jobs\nWHERE\n (\n inference_type IN (?)\n )\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 AND\n (\n is_debug_request = ?\n )\n ORDER BY id ASC\n LIMIT ?\n " - }, "d71ef2cfed337f9e3f9e1c2255bdec6347763910fd589482f0b0e56b794d7bb7": { "describe": { "columns": [], @@ -12378,291 +12443,6 @@ }, "query": "\nUPDATE w2l_results\nSET\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n " }, - "ea1e4a96cee18361db0f31cfd5b5d482af538fac8e1eb1dc94a66d74851b5619": { - "describe": { - "columns": [ - { - "name": "vocoder_token", - "ordinal": 0, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "vocoder_type: enums::ml::vocoder_type::VocoderType", - "ordinal": 1, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_user_token", - "ordinal": 2, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "creator_username", - "ordinal": 3, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4229 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_display_name", - "ordinal": 4, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 80, - "type": "VarString" - } - }, - { - "name": "creator_gravatar_hash", - "ordinal": 5, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 128, - "type": "String" - } - }, - { - "name": "creator_is_banned", - "ordinal": 6, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "title", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4225 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "description_markdown", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "description_rendered_html", - "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4241 - }, - "max_size": 262140, - "type": "Blob" - } - }, - { - "name": "is_staff_recommended", - "ordinal": 10, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_public_use", - "ordinal": 11, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_disabled_from_author_use", - "ordinal": 12, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "is_mod_author_editing_locked", - "ordinal": 13, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9 - }, - "max_size": 1, - "type": "Tiny" - } - }, - { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 14, - "type_info": { - "char_set": 224, - "flags": { - "bits": 393 - }, - "max_size": 28, - "type": "String" - } - }, - { - "name": "created_at", - "ordinal": 15, - "type_info": { - "char_set": 63, - "flags": { - "bits": 1153 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "updated_at", - "ordinal": 16, - "type_info": { - "char_set": 63, - "flags": { - "bits": 9345 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "creator_ip_address_creation", - "ordinal": 17, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "creator_ip_address_last_update", - "ordinal": 18, - "type_info": { - "char_set": 224, - "flags": { - "bits": 4233 - }, - "max_size": 160, - "type": "VarString" - } - }, - { - "name": "mod_deleted_at", - "ordinal": 19, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - }, - { - "name": "user_deleted_at", - "ordinal": 20, - "type_info": { - "char_set": 63, - "flags": { - "bits": 128 - }, - "max_size": 19, - "type": "Timestamp" - } - } - ], - "nullable": [ - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - true, - true - ], - "parameters": { - "Right": 1 - } - }, - "query": "\nSELECT\n vocoder.token as vocoder_token,\n vocoder.vocoder_type as `vocoder_type: enums::ml::vocoder_type::VocoderType`,\n\n vocoder.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 vocoder.title,\n vocoder.description_markdown,\n vocoder.description_rendered_html,\n vocoder.is_staff_recommended,\n\n vocoder.is_mod_disabled_from_public_use,\n vocoder.is_mod_disabled_from_author_use,\n vocoder.is_mod_author_editing_locked,\n\n vocoder.creator_set_visibility as `creator_set_visibility: enums::core::visibility::Visibility`,\n\n vocoder.created_at,\n vocoder.updated_at,\n\n vocoder.creator_ip_address_creation,\n vocoder.creator_ip_address_last_update,\n vocoder.mod_deleted_at,\n vocoder.user_deleted_at\n\nFROM vocoder_models as vocoder\nJOIN users\n ON users.token = vocoder.creator_user_token\nWHERE\n vocoder.token = ?\n " - }, "eacc0e022cd188eb930bbf4ffbf2fc8fc9081fa7a44119924b114422ceae7ad3": { "describe": { "columns": [ @@ -12908,6 +12688,265 @@ }, "query": "\nSELECT\n ip_bans.ip_address,\n\n ip_bans.maybe_target_user_token,\n banned_users.username as maybe_target_username,\n\n ip_bans.mod_user_token,\n mod_users.username as mod_username,\n mod_users.display_name as mod_display_name,\n\n ip_bans.mod_notes,\n ip_bans.created_at,\n ip_bans.updated_at\nFROM\n ip_address_bans AS ip_bans\nLEFT OUTER JOIN users as banned_users\n ON ip_bans.maybe_target_user_token = banned_users.token\nJOIN users as mod_users\n ON ip_bans.mod_user_token = mod_users.token\nWHERE\n ip_bans.deleted_at IS NULL\n " }, + "ec3af595cdceaa6323694f46e95e196b49f37897d8e97a761623e338d475ecc3": { + "describe": { + "columns": [ + { + "name": "id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId", + "ordinal": 0, + "type_info": { + "char_set": 63, + "flags": { + "bits": 515 + }, + "max_size": 20, + "type": "LongLong" + } + }, + { + "name": "inference_job_token: tokens::jobs::inference::InferenceJobToken", + "ordinal": 1, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4229 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "inference_type: enums::workers::generic_inference_type::GenericInferenceType", + "ordinal": 2, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_inference_args", + "ordinal": 3, + "type_info": { + "char_set": 224, + "flags": { + "bits": 144 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "maybe_raw_inference_text", + "ordinal": 4, + "type_info": { + "char_set": 224, + "flags": { + "bits": 144 + }, + "max_size": 262140, + "type": "Blob" + } + }, + { + "name": "maybe_model_token", + "ordinal": 5, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "maybe_creator_user_token", + "ordinal": 6, + "type_info": { + "char_set": 224, + "flags": { + "bits": 136 + }, + "max_size": 128, + "type": "VarString" + } + }, + { + "name": "creator_ip_address", + "ordinal": 7, + "type_info": { + "char_set": 224, + "flags": { + "bits": 4233 + }, + "max_size": 160, + "type": "VarString" + } + }, + { + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 8, + "type_info": { + "char_set": 224, + "flags": { + "bits": 385 + }, + "max_size": 28, + "type": "String" + } + }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 9, + "type_info": { + "char_set": 224, + "flags": { + "bits": 393 + }, + "max_size": 64, + "type": "String" + } + }, + { + "name": "attempt_count", + "ordinal": 10, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 5, + "type": "Short" + } + }, + { + "name": "priority_level", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 41 + }, + "max_size": 5, + "type": "Short" + } + }, + { + "name": "is_from_premium_user", + "ordinal": 12, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_from_api_user", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_for_twitch", + "ordinal": 14, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "is_debug_request", + "ordinal": 15, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "created_at", + "ordinal": 16, + "type_info": { + "char_set": 63, + "flags": { + "bits": 1153 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "updated_at", + "ordinal": 17, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9345 + }, + "max_size": 19, + "type": "Timestamp" + } + }, + { + "name": "retry_at", + "ordinal": 18, + "type_info": { + "char_set": 63, + "flags": { + "bits": 128 + }, + "max_size": 19, + "type": "Timestamp" + } + } + ], + "nullable": [ + false, + false, + false, + true, + true, + true, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true + ], + "parameters": { + "Right": 3 + } + }, + "query": "\nSELECT\n id as `id: crate::queries::generic_inference::job::_keys::GenericInferenceJobId`,\n token AS `inference_job_token: tokens::jobs::inference::InferenceJobToken`,\n\n inference_type as `inference_type: enums::workers::generic_inference_type::GenericInferenceType`,\n maybe_inference_args,\n maybe_raw_inference_text,\n maybe_model_token,\n\n maybe_creator_user_token,\n creator_ip_address,\n creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n\n status as `status: crate::column_types::job_status::JobStatus`,\n\n attempt_count,\n priority_level,\n is_from_premium_user,\n is_from_api_user,\n is_for_twitch,\n is_debug_request,\n\n created_at,\n updated_at,\n retry_at\nFROM generic_inference_jobs\nWHERE\n (\n inference_type IN (?)\n )\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 AND\n (\n is_debug_request = ?\n )\n ORDER BY priority_level DESC, id ASC\n LIMIT ?\n " + }, "ee05f95e45f7aaa5811d70b1f00d3f40a361536dfc6451affcad97586dc3338f": { "describe": { "columns": [], @@ -12918,7 +12957,7 @@ }, "query": "\nUPDATE w2l_inference_jobs\nSET\n status = 'started',\n attempt_count = attempt_count + 1,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n " }, - "f26353fa0dffb1967ea2f5f1933e8df6e1939d2b9522eed40c4541d0e0dcb524": { + "efda8c2f3b856b1995d57cf5050636457c56589e9ae2676550a709c49e79a4c7": { "describe": { "columns": [ { @@ -12958,104 +12997,44 @@ } }, { - "name": "maybe_w2l_template_token", + "name": "model_token", "ordinal": 3, "type_info": { "char_set": 224, "flags": { - "bits": 136 + "bits": 4233 }, "max_size": 128, "type": "VarString" } }, { - "name": "maybe_public_image_bucket_location", + "name": "raw_inference_text", "ordinal": 4, "type_info": { "char_set": 224, "flags": { - "bits": 128 + "bits": 4241 }, - "max_size": 1020, - "type": "VarString" + "max_size": 262140, + "type": "Blob" } }, { - "name": "maybe_tts_inference_result_token", + "name": "max_duration_seconds", "ordinal": 5, "type_info": { - "char_set": 224, + "char_set": 63, "flags": { - "bits": 136 + "bits": 1 }, - "max_size": 128, - "type": "VarString" - } - }, - { - "name": "maybe_public_audio_bucket_hash", - "ordinal": 6, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 256, - "type": "VarString" - } - }, - { - "name": "maybe_public_audio_bucket_location", - "ordinal": 7, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 1020, - "type": "VarString" - } - }, - { - "name": "maybe_original_audio_filename", - "ordinal": 8, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 1020, - "type": "String" - } - }, - { - "name": "maybe_original_audio_download_url", - "ordinal": 9, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 2048, - "type": "VarString" - } - }, - { - "name": "maybe_audio_mime_type", - "ordinal": 10, - "type_info": { - "char_set": 224, - "flags": { - "bits": 128 - }, - "max_size": 128, - "type": "VarString" + "max_size": 11, + "type": "Long" } }, { "name": "creator_ip_address", - "ordinal": 11, + "ordinal": 6, "type_info": { "char_set": 224, "flags": { @@ -13067,7 +13046,7 @@ }, { "name": "maybe_creator_user_token", - "ordinal": 12, + "ordinal": 7, "type_info": { "char_set": 224, "flags": { @@ -13078,8 +13057,8 @@ } }, { - "name": "creator_set_visibility: enums::core::visibility::Visibility", - "ordinal": 13, + "name": "creator_set_visibility: enums::common::visibility::Visibility", + "ordinal": 8, "type_info": { "char_set": 224, "flags": { @@ -13090,8 +13069,8 @@ } }, { - "name": "disable_end_bump", - "ordinal": 14, + "name": "is_from_api", + "ordinal": 9, "type_info": { "char_set": 63, "flags": { @@ -13102,8 +13081,8 @@ } }, { - "name": "disable_watermark", - "ordinal": 15, + "name": "is_for_twitch", + "ordinal": 10, "type_info": { "char_set": 63, "flags": { @@ -13114,8 +13093,20 @@ } }, { - "name": "status", - "ordinal": 16, + "name": "is_debug_request", + "ordinal": 11, + "type_info": { + "char_set": 63, + "flags": { + "bits": 9 + }, + "max_size": 1, + "type": "Tiny" + } + }, + { + "name": "status: crate::column_types::job_status::JobStatus", + "ordinal": 12, "type_info": { "char_set": 224, "flags": { @@ -13125,9 +13116,21 @@ "type": "String" } }, + { + "name": "priority_level", + "ordinal": 13, + "type_info": { + "char_set": 63, + "flags": { + "bits": 33 + }, + "max_size": 3, + "type": "Tiny" + } + }, { "name": "attempt_count", - "ordinal": 17, + "ordinal": 14, "type_info": { "char_set": 63, "flags": { @@ -13139,7 +13142,7 @@ }, { "name": "failure_reason", - "ordinal": 18, + "ordinal": 15, "type_info": { "char_set": 224, "flags": { @@ -13151,7 +13154,7 @@ }, { "name": "created_at", - "ordinal": 19, + "ordinal": 16, "type_info": { "char_set": 63, "flags": { @@ -13163,7 +13166,7 @@ }, { "name": "updated_at", - "ordinal": 20, + "ordinal": 17, "type_info": { "char_set": 63, "flags": { @@ -13175,7 +13178,7 @@ }, { "name": "retry_at", - "ordinal": 21, + "ordinal": 18, "type_info": { "char_set": 63, "flags": { @@ -13190,14 +13193,9 @@ false, false, false, - true, - true, - true, - true, - true, - true, - true, - true, + false, + false, + false, false, true, false, @@ -13205,16 +13203,18 @@ false, false, false, + false, + false, true, false, false, true ], "parameters": { - "Right": 1 + "Right": 2 } }, - "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 as `creator_set_visibility: enums::core::visibility::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 " + "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 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 LIMIT ?\n " }, "f75b713d166398ebea2bdbde4e416dc8eb2c48dba4aa9bd164bcf5bc77237ce1": { "describe": {