artcraft/sqlx-data.json

7664 lines
196 KiB
JSON

{
"db": "MySQL",
"02060ab9b8ca472a2bd4d4fa3120743e90148ccd6a4cb13bc491d00f36ed7a8f": {
"query": "\nSELECT\n id,\n status\nFROM w2l_inference_jobs\nWHERE id = ?\nFOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
}
},
"05c3ebf54cd8a5374d6f4bbe21b3c6027ce6314917af8acd0ed136d375d53342": {
"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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
}
},
"0caed749627ff22ae1cea52621a375156259a731e8070459593082b80d463491": {
"query": "\nSELECT\n id,\n status\nFROM tts_model_upload_jobs\nWHERE id = ?\nFOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
}
},
"10baa66f954e30d5da4bdb0fe6f912b01c6ac7ec803801797a0a5fd81ae0947e": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n tts.created_at,\n tts.updated_at,\n tts.user_deleted_at,\n tts.mod_deleted_at\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\nWHERE tts.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "description_markdown",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 7,
"name": "description_rendered_html",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 8,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 12,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"11554bff2bf06cf0f843b716c99c61b540639207d716eeabe3e2afb189290ab6": {
"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.is_locked_from_use,\n w2l.is_locked_from_user_modification,\n w2l.created_at,\n w2l.updated_at,\n w2l.user_deleted_at,\n w2l.mod_deleted_at\nFROM w2l_templates as w2l\nJOIN users\n ON users.token = w2l.creator_user_token\nWHERE\n w2l.token = ?\n AND w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 14,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 16,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 17,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
true
]
}
},
"1168f39a5ec892d06e941b0dba0e955a27ef976567eeafd6e550bc42ea4c4331": {
"query": "\nINSERT INTO tts_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n model_token = ?,\n raw_inference_text = ?,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 7
},
"nullable": []
}
},
"1236640a30d0d5177e13c31b61b791874f7c70026003a58ba6e07e7af46c30c1": {
"query": "\nSELECT\n next_id\nFROM\n w2l_result_synthetic_ids\nWHERE\n user_token = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "next_id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 20
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
}
},
"150c98c00f4cd6954428736583eae913be578c4e69dac317d4445bc0e97743c9": {
"query": "\nSELECT\n next_id\nFROM\n tts_result_synthetic_ids\nWHERE\n user_token = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "next_id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 20
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
}
},
"1513af6ee028edfea33311b64d5d71f784ea058bbde114cfbc9b1785ef98c7e8": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n tts.created_at,\n tts.updated_at,\n tts.user_deleted_at,\n tts.mod_deleted_at\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "description_markdown",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 7,
"name": "description_rendered_html",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 8,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 12,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"1556b7ed6b0cab002b52dfa8a5f81743a38967631ff24fd9555a168823b1dfc1": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.is_locked_from_use,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\nWHERE\n tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"17c8d210d93ee9c0d8e8422eed605c9150f19f9bf72affcf111b15a67a5b9e70": {
"query": "\nUPDATE w2l_templates\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 version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 6
},
"nullable": []
}
},
"18ca4c90132288c1dc3d43c6b0e7ee6aa12e990408e314e0038d4a376c9ddfbf": {
"query": "\nUPDATE w2l_templates\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_ip_address_last_update = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"1cc62e5cdc8de18969d7e8018d91c38794e5a7d23f117e5b0a4126845f300e60": {
"query": "\nUPDATE user_sessions\nSET deleted_at = CURRENT_TIMESTAMP()\nWHERE\n token = ?\n AND deleted_at IS NULL\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"25e7858d370ac1359deb42ef5292e85ccd1fe7debf3a1ba73303e5882523a4d0": {
"query": "\nINSERT INTO w2l_template_upload_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n template_type = ?,\n download_url = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 8
},
"nullable": []
}
},
"27aa92743ce8b2221feeac96de6eb8b378b427912de09779fee938b757de4bdc": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.private_bucket_hash,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE tts.token = ?\nAND tts.user_deleted_at IS NULL\nAND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "private_bucket_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"28cf5843d68d6cb0e67eb316ef9e7e5fb05a6be2433f86c081576b279167508d": {
"query": "\nINSERT INTO tts_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 ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"294c089b17fdd87d7e579c05a9d90e9bfa5b7465cafa9a95af08d58709212440": {
"query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"2b04dd7db52ef3a97a6f420a22a4dbee7416ae58697438df69e87ffd47bbf350": {
"query": "\nUPDATE w2l_inference_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"2d485a1232d1b5bd1ad6a05ed744fe280121903fcebac4b7e9d12b732e0caa21": {
"query": "\nINSERT INTO tts_results\nSET\n token = ?,\n\n model_token = ?,\n raw_inference_text = ?,\n raw_inference_text_hash_sha2 = ?,\n normalized_inference_text = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_synthetic_id = ?,\n\n creator_ip_address = ?,\n creator_set_visibility = 'public',\n\n public_bucket_hash = 'TODO',\n public_bucket_wav_audio_path = ?,\n public_bucket_spectrogram_path = ?,\n inference_public_bucket_uuid = 'TODO',\n\n file_size_bytes = ?,\n duration_millis = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 12
},
"nullable": []
}
},
"34364f9bc851971f8291f5f9942dd23d10718ccb210a93a236d96d0591f65f35": {
"query": "\nINSERT INTO users (\n token,\n username,\n display_name,\n email_address,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n password_hash,\n ip_address_creation,\n ip_address_last_login,\n ip_address_last_update\n)\nVALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 12
},
"nullable": []
}
},
"345cbabbe69652c89ccd384ed7db44f70c53791488cf63721f9563291b45db3e": {
"query": "\nINSERT INTO user_sessions (\n token,\n user_token,\n ip_address_creation,\n expires_at\n)\nVALUES ( ?, ?, ?, NOW() + interval 1 year )\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"34642399c3e91960768cb659b6006db291574d9cd07a5bace3db573eff20c3fb": {
"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 ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"346c02b215cb35efaa35fe96d866a8c9056ac46e987b4e01f64222259dccdcbf": {
"query": "\nUPDATE\n ip_address_bans\nSET\n mod_user_token = ?,\n deleted_at = NULL\nWHERE\n ip_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"376e36b1357952599866262c7356ba35f15ccdfb338d8ccdbdc06ccd69331fc3": {
"query": "\nUPDATE tts_results\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"3a2dc0a7e41dcbdf21f91d1a1e54e813f74b0bac7aea052302089cae195eeb53": {
"query": "\nUPDATE users\nSET\n profile_markdown = ?,\n profile_rendered_html = ?,\n discord_username = ?,\n twitter_username = ?,\n twitch_username = ?,\n github_username = ?,\n cashapp_username = ?,\n website_url = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 9
},
"nullable": []
}
},
"3c6615a453cf4ab41ff77616369a8aa1ed83f835ad35a5b52ca61fa77dfb8c77": {
"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.is_locked_from_use,\n w2l.is_locked_from_user_modification,\n w2l.created_at,\n w2l.updated_at,\n w2l.user_deleted_at,\n w2l.mod_deleted_at\nFROM w2l_templates as w2l\nJOIN users\n ON users.token = w2l.creator_user_token\nWHERE w2l.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 14,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 16,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 17,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false,
false,
false,
true,
true
]
}
},
"40a3301e9a3201e74d49b6b339f67291e2ae22d315188401708609ac2d28a68c": {
"query": "\nUPDATE tts_results\nSET\n mod_deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"417dd070beeaf6ccd86852b7e99bf7fda5c5b15da4a3bcc066a0e2bb90ca7df1": {
"query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\n ON users.token = w2l.creator_user_token\nWHERE\n w2l.is_public_listing_approved IS TRUE\n AND w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
}
},
"453e6252ea537f5f3fddae361b53f21c86fe829930cf7415d43aa899e4390bd9": {
"query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.raw_inference_text,\n\n tts_results.model_token as tts_model_token,\n tts_models.title as tts_model_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n model_users.token as maybe_model_creator_user_token,\n model_users.username as maybe_model_creator_username,\n model_users.display_name as maybe_model_creator_display_name,\n model_users.email_gravatar_hash as maybe_model_creator_gravatar_hash,\n\n tts_results.public_bucket_wav_audio_path,\n tts_results.public_bucket_spectrogram_path,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at,\n tts_results.user_deleted_at,\n tts_results.mod_deleted_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as model_users\n ON tts_models.creator_user_token = model_users.token\nWHERE\n tts_results.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "tts_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "raw_inference_text",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 2,
"name": "tts_model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "tts_model_title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 4,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 5,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 6,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 7,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "maybe_model_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 9,
"name": "maybe_model_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 10,
"name": "maybe_model_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 11,
"name": "maybe_model_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 12,
"name": "public_bucket_wav_audio_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 13,
"name": "public_bucket_spectrogram_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 14,
"name": "file_size_bytes",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 15,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 16,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 17,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 18,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 19,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"4f61f621682ba255814f8a55455ea2b7fba9b6c85affaf87abfe2f81e11322f0": {
"query": "\nSELECT\n id,\n status\nFROM tts_inference_jobs\nWHERE id = ?\nFOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
}
},
"52447dfed3f294970e4c589062342ede87ab3a1f8c483751294fcb91cadff386": {
"query": "\nSELECT\n tts_results.token as tts_result_token,\n\n tts_results.raw_inference_text,\n\n tts_results.model_token as tts_model_token,\n tts_models.title as tts_model_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n model_users.token as maybe_model_creator_user_token,\n model_users.username as maybe_model_creator_username,\n model_users.display_name as maybe_model_creator_display_name,\n model_users.email_gravatar_hash as maybe_model_creator_gravatar_hash,\n\n tts_results.public_bucket_wav_audio_path,\n tts_results.public_bucket_spectrogram_path,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at,\n tts_results.user_deleted_at,\n tts_results.mod_deleted_at\n\nFROM tts_results\nLEFT OUTER JOIN tts_models\n ON tts_results.model_token = tts_models.token\nLEFT OUTER JOIN users\n ON tts_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as model_users\n ON tts_models.creator_user_token = model_users.token\nWHERE\n tts_results.token = ?\n AND tts_results.user_deleted_at IS NULL\n AND tts_results.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "tts_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "raw_inference_text",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 2,
"name": "tts_model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "tts_model_title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 4,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 5,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 6,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 7,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "maybe_model_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 9,
"name": "maybe_model_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 10,
"name": "maybe_model_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 11,
"name": "maybe_model_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 12,
"name": "public_bucket_wav_audio_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 13,
"name": "public_bucket_spectrogram_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 14,
"name": "file_size_bytes",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 15,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 16,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 17,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 18,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 19,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"53d77ee58e9b1f7fb900914895c25bcccb9297378ff018c1e553b187d1956e92": {
"query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE username = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "password_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 63,
"max_size": 60
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
}
},
"55a75db2d060bd49951db22f6b4ffd1545777b61c256030d59662543adc06ab2": {
"query": "\nUPDATE users\nSET\n profile_markdown = ?,\n profile_rendered_html = ?,\n discord_username = ?,\n twitter_username = ?,\n twitch_username = ?,\n github_username = ?,\n cashapp_username = ?,\n website_url = ?,\n ip_address_last_update = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 10
},
"nullable": []
}
},
"56a0a2bfc3c73d6845ca9cf1d285b175a40b50a250b7effb9ce6474e58113d6e": {
"query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.attempt_count,\n jobs.on_success_result_token as maybe_model_token,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM tts_model_upload_jobs as jobs\n\nWHERE jobs.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 2,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 3,
"name": "maybe_model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 5,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
false,
false
]
}
},
"57928b1001a10a88ac5a07f43b1dd30f6dee6edbc0808be99fe1233f9e276c56": {
"query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.attempt_count,\n jobs.on_success_result_token as maybe_result_token,\n results.public_bucket_video_path as maybe_public_bucket_video_path,\n\n jobs.maybe_w2l_template_token,\n w2l.template_type as w2l_template_type,\n w2l.title,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM w2l_inference_jobs as jobs\nJOIN w2l_templates as w2l\n ON w2l.token = jobs.maybe_w2l_template_token\nLEFT OUTER JOIN w2l_results as results\n ON jobs.on_success_result_token = results.token\n\nWHERE jobs.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 2,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 3,
"name": "maybe_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_public_bucket_video_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "w2l_template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 7,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 9,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
true,
false,
false,
false,
false
]
}
},
"5c13a3969006332b5910fcfd4cd58eecbcd5866059b76afff610a2ad3900d094": {
"query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.attempt_count,\n jobs.on_success_result_token as maybe_template_token,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM w2l_template_upload_jobs as jobs\n\nWHERE jobs.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 2,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 3,
"name": "maybe_template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 5,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
false,
false
]
}
},
"5e54fd8569b2d6d3a0d11acee6bd03b75400b6325952eb16c8dac68a7933b13a": {
"query": "\nSELECT\n users.token as user_token,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n is_banned,\n disable_gravatar,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "email_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "profile_markdown",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "profile_rendered_html",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 6,
"name": "user_role_slug",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 7,
"name": "is_banned",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "disable_gravatar",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "discord_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 10,
"name": "twitch_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 11,
"name": "twitter_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 12,
"name": "patreon_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 13,
"name": "github_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 14,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
true,
true,
false
]
}
},
"6105a7fd1cf7a4d61d1b00c262c44f0370f7a9b8827354b2e3161d78493a0f5b": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_preprocessing_algorithm,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n\n tts.title,\n\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON users.token = tts.creator_user_token\nWHERE\n tts.token = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "text_preprocessing_algorithm",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 3,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 6,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"641253d4c621f75037877651bba044a21033f50a5e3f8fed9b06ec967a508853": {
"query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = 'started',\n attempt_count = attempt_count + 1,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"65ce50a3aafe979e77a541d576228d7fcfe76e33400427d01382da36c1585edb": {
"query": "\nUPDATE tts_inference_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"663506988f146de6f559e5df4f4a2b607e9421a69bb57db1f656774bf8b375db": {
"query": "\nUPDATE w2l_results\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"66442f357c878d55cf99a388861c6d7434f4e543f76088a8d70d73b489b11784": {
"query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_results.public_bucket_video_path,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n template_users.token as maybe_template_creator_user_token,\n template_users.username as maybe_template_creator_username,\n template_users.display_name as maybe_template_creator_display_name,\n template_users.email_gravatar_hash as maybe_template_creator_gravatar_hash,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at,\n 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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "w2l_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "maybe_tts_inference_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "public_bucket_video_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 392
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 5,
"name": "template_title",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 8,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 9,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 10,
"name": "maybe_template_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 11,
"name": "maybe_template_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 12,
"name": "maybe_template_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 13,
"name": "maybe_template_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 14,
"name": "file_size_bytes",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 15,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 16,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 17,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 18,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 19,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 20,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 21,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
true,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"68376f750b8421c10d319fa1045a2f3ce8fb1d35a5fe6ec92b2022babafbde80": {
"query": "\nUPDATE users\nSET\n user_role_slug = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"6b66db376952ff4cfcea6ffe1f9ecd4462722843a3d19fcd4df16f0fb993decc": {
"query": "\nUPDATE tts_model_upload_jobs\nSET\n status = 'started',\n attempt_count = attempt_count + 1,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"73558104936aab6add2d9c789b368b5f155f1fe01d32e7314f2f120422866f54": {
"query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"7622292c05fe1b5832136762042780a12a02048166bb1b4492dfd627c48c8968": {
"query": "\nSELECT\n token as template_token\nFROM w2l_templates\nWHERE\n token = ?\n AND user_deleted_at IS NULL\n AND mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
}
},
"78006a7a9388557d53c9a9cc8aeec84496e87355501c5b412f788a2291077473": {
"query": "\nSELECT\n slug,\n name,\n\n can_use_tts,\n can_use_w2l,\n can_delete_own_tts_results,\n can_delete_own_w2l_results,\n can_delete_own_account,\n\n can_upload_tts_models,\n can_upload_w2l_templates,\n can_delete_own_tts_models,\n can_delete_own_w2l_templates,\n\n can_approve_w2l_templates,\n can_edit_other_users_profiles,\n can_edit_other_users_tts_models,\n can_edit_other_users_w2l_templates,\n can_delete_other_users_tts_models,\n can_delete_other_users_tts_results,\n can_delete_other_users_w2l_templates,\n can_delete_other_users_w2l_results,\n can_ban_users,\n can_delete_users,\n\n created_at,\n updated_at\n\nFROM user_roles\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "slug",
"type_info": {
"type": "String",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 1,
"name": "name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 2,
"name": "can_use_tts",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 3,
"name": "can_use_w2l",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 4,
"name": "can_delete_own_tts_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 5,
"name": "can_delete_own_w2l_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 6,
"name": "can_delete_own_account",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "can_upload_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "can_upload_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "can_delete_own_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 10,
"name": "can_delete_own_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 11,
"name": "can_approve_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "can_edit_other_users_profiles",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "can_edit_other_users_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 14,
"name": "can_edit_other_users_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 15,
"name": "can_delete_other_users_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 16,
"name": "can_delete_other_users_tts_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 17,
"name": "can_delete_other_users_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 18,
"name": "can_delete_other_users_w2l_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 19,
"name": "can_ban_users",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 20,
"name": "can_delete_users",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 21,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 22,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"7ab54466ca3021d90e0feb234acba56bf53d415dde69bc1c35120ed0c8dd1858": {
"query": "\nSELECT *\nFROM tts_model_upload_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 3,
"name": "on_success_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 6,
"name": "download_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 7,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 9,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 10,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 11,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 12,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 13,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 14,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "retry_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
false,
false,
true,
false,
false,
false,
false,
false,
true,
false,
false,
true
]
}
},
"7cd0ad5d7b9a2c393f799beadc1e0a6bc85d952e07a1b82a52115b99be40ff6d": {
"query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n w2l.title,\n w2l.frame_width,\n w2l.frame_height,\n w2l.duration_millis,\n w2l.maybe_public_bucket_preview_image_object_name,\n w2l.maybe_public_bucket_preview_video_object_name,\n w2l.is_public_listing_approved,\n w2l.created_at,\n w2l.updated_at\nFROM w2l_templates as w2l\nJOIN users\n ON users.token = w2l.creator_user_token\nWHERE\n w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
}
},
"8347b64356502ae32979d48680e6b2097e7f8c4cdc492b7285044856b58ba017": {
"query": "\nINSERT INTO w2l_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n maybe_w2l_template_token = ?,\n maybe_public_audio_bucket_hash = ?,\n maybe_public_audio_bucket_location = ?,\n\n maybe_original_audio_filename = ?,\n maybe_audio_mime_type = ?,\n\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n disable_end_bump = false,\n creator_set_visibility = \"public\",\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 9
},
"nullable": []
}
},
"865ce236444a36d597939660b14eb4b0cee05c70fdb73f31c2fb8cddddfef42c": {
"query": "\nINSERT INTO firehose_entries\nSET\n token = ?,\n event_type = ?,\n maybe_target_user_token = ?,\n maybe_target_entity_token = ?,\n maybe_created_entity_token = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"88328e04ce947d3f541951aada9cee25135aa950ab478cf0dc6de453bb079e17": {
"query": "\nSELECT\n events.token as event_token,\n events.event_type,\n events.maybe_target_user_token,\n users.username as maybe_target_username,\n users.display_name as maybe_target_display_name,\n users.email_gravatar_hash as maybe_target_user_gravatar_hash,\n events.maybe_target_entity_token,\n events.created_at,\n events.updated_at\nFROM firehose_entries as events\nLEFT OUTER JOIN users\nON events.maybe_target_user_token = users.token\nORDER BY events.id DESC\nLIMIT 25\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "event_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "event_type",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "maybe_target_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "maybe_target_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "maybe_target_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "maybe_target_user_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "maybe_target_entity_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
true,
true,
true,
true,
true,
false,
false
]
}
},
"886861e91c7e8af53eb856c949389a172b8d9e079f1c2070d115423907c47c50": {
"query": "\nINSERT INTO tts_model_upload_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n tts_model_type = ?,\n download_url = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 8
},
"nullable": []
}
},
"8ba1925f85324f4bc73f809a825453196a95b07008d23b0ee66e8a73f73a3510": {
"query": "\nUPDATE w2l_templates\nSET\n user_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"8c0c0ad0fafef712bb2eb269bcef8658efcd84154d6f6eeda26b0399abd641c4": {
"query": "\nUPDATE w2l_templates\nSET\n user_deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"8d61bb77449a78044135a3d6e5009a3a27b4671b7e40501d318b05ae401f02a8": {
"query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "password_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 63,
"max_size": 60
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
}
},
"961f792c24bee6009e3e8a215561db932871a53c48839b8cb80292de00e7b2e1": {
"query": "\nUPDATE tts_results\nSET\n user_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"99f1869443b8331b3099af44c53d6db4573fdfb2df5af56668f3256bf446b096": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.is_locked_from_use,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON\n users.token = tts.creator_user_token\nWHERE\n users.username = ?\n AND tts.is_locked_from_use IS FALSE\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"9a879f76345ef5682b995f99026fac8b2f4c64c8ec4bb078187d1e53effcfbaf": {
"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 ",
"describe": {
"columns": [],
"parameters": {
"Right": 19
},
"nullable": []
}
},
"9aded23dc849b7b416458afc8976207553e864690e36a8ee7066569ff489dc17": {
"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.disable_gravatar,\n users.auto_play_audio_preference,\n users.auto_play_video_preference,\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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 4,
"name": "email_confirmed",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 5,
"name": "email_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "disable_gravatar",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "auto_play_audio_preference",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "auto_play_video_preference",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "user_role_slug",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 10,
"name": "is_banned",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 11,
"name": "can_use_tts",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "can_use_w2l",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "can_delete_own_tts_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 14,
"name": "can_delete_own_w2l_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 15,
"name": "can_delete_own_account",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 16,
"name": "can_upload_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 17,
"name": "can_upload_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 18,
"name": "can_delete_own_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 19,
"name": "can_delete_own_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 20,
"name": "can_approve_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 21,
"name": "can_edit_other_users_profiles",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 22,
"name": "can_edit_other_users_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 23,
"name": "can_edit_other_users_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 24,
"name": "can_delete_other_users_tts_models",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 25,
"name": "can_delete_other_users_tts_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 26,
"name": "can_delete_other_users_w2l_templates",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 27,
"name": "can_delete_other_users_w2l_results",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 28,
"name": "can_ban_users",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 29,
"name": "can_delete_users",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 0
},
"char_set": 63,
"max_size": 1
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
true,
true,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true
]
}
},
"9b607b814cd7c445c2c46ec5c13dc23f3a6a771a3469a786ed46ec099577d95e": {
"query": "\nUPDATE\n ip_address_bans\nSET\n mod_user_token = ?,\n deleted_at = CURRENT_TIMESTAMP\nWHERE\n ip_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"9cef4989671fb55d8e732f6f3d5c16aea7a9b3e01fc6a3bc7a56d0b066f07730": {
"query": "\nINSERT INTO tts_models\nSET\n token = ?,\n tts_model_type = \"tacotron2\",\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 file_size_bytes = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 9
},
"nullable": []
}
},
"9d4932baa4023accc2d28af98b58a47149d37c4937cd0171e6b955c09855c5f8": {
"query": "\nINSERT INTO w2l_inference_jobs\nSET\n maybe_w2l_template_token = ?,\n maybe_tts_inference_result_token = ?,\n maybe_public_audio_bucket_location = NULL,\n maybe_public_image_bucket_location = NULL,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"a125f183f7ae5627fc2118e7302cea73d967200ba1cbb12550f5880187b7db5e": {
"query": "\nUPDATE w2l_inference_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"a22a487d4651ec72b04fad3747dc1c25e47382e5481223a6a4fcf8172a737fb3": {
"query": "\nINSERT INTO w2l_results\nSET\n token = ?,\n maybe_w2l_template_token = ?,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = 'public',\n\n maybe_creator_synthetic_id = ?,\n\n public_bucket_video_path = ?,\n\n file_size_bytes = ?,\n mime_type = ?,\n frame_width = ?,\n frame_height = ?,\n duration_millis = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 11
},
"nullable": []
}
},
"a88f0e74e4d30a8defdcafeed432451f1e4b32b2f8fbfa55d815b0c7cef40761": {
"query": "\nSELECT\n users.token as user_token,\n username,\n display_name,\n email_gravatar_hash,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n is_banned,\n disable_gravatar,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n cashapp_username,\n website_url,\n created_at\nFROM users\nWHERE\n users.username = ?\n AND users.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "email_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "profile_markdown",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "profile_rendered_html",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 6,
"name": "user_role_slug",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 7,
"name": "is_banned",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 8,
"name": "disable_gravatar",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "discord_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 10,
"name": "twitch_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 11,
"name": "twitter_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 12,
"name": "patreon_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 13,
"name": "github_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 14,
"name": "cashapp_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 15,
"name": "website_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 16,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
false
]
}
},
"ab6f25eb0f6340d49aa705835ed428434d8b6ab14b0740f6a5ebe7841b9ece20": {
"query": "\nUPDATE tts_inference_jobs\nSET\n status = 'started',\n attempt_count = attempt_count + 1,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"adf2d5eb967fa2bc00fad1c8fcc2e1bf4384d39dc54e8240d78bb4ca6fcc3409": {
"query": "\nUPDATE w2l_results\nSET\n mod_deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"af6e3f4b8b29a9e26ae422bee2e24e1d926990c5111149d26dbe4ea97dceb87f": {
"query": "\nSELECT\n ip_bans.ip_address,\n ip_bans.maybe_target_user_token,\n users.username as maybe_target_username,\n ip_bans.mod_user_token,\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\n ON ip_bans.maybe_target_user_token = users.token\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 1,
"name": "maybe_target_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "maybe_target_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "mod_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "mod_notes",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 6,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
true,
true,
false,
false,
false,
false
]
}
},
"b1ad806aa93f66cab358d7cdb405d57c643e2ff131cfec9f1ced55c2e6ca9511": {
"query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n on_success_result_token = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"b1d7e1c405a33c391954167a3527580ec7fefac0055297150108a92f3945941f": {
"query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_results.public_bucket_video_path,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n\n template_users.token as maybe_template_creator_user_token,\n template_users.username as maybe_template_creator_username,\n template_users.display_name as maybe_template_creator_display_name,\n template_users.email_gravatar_hash as maybe_template_creator_gravatar_hash,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at,\n 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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "w2l_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "maybe_tts_inference_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "public_bucket_video_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 392
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 5,
"name": "template_title",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 8,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 9,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 10,
"name": "maybe_template_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 11,
"name": "maybe_template_creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4228
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 12,
"name": "maybe_template_creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 13,
"name": "maybe_template_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 14,
"name": "file_size_bytes",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 15,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 16,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 17,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 18,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 19,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 20,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 21,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 136
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
true,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
true,
true
]
}
},
"b257c267dfe063995374786d3004f215e77e8a32843c024645da6fa435507dce": {
"query": "\nINSERT INTO\n ip_address_bans\nSET\n ip_address = ?,\n maybe_target_user_token = ?,\n mod_user_token = ?,\n mod_notes = ?\nON DUPLICATE KEY UPDATE\n expires_at = NULL,\n deleted_at = NULL,\n ip_address = ?,\n maybe_target_user_token = ?,\n mod_user_token = ?,\n mod_notes = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 8
},
"nullable": []
}
},
"b6a53361eda0f0f0517cc39b9bc5b7ab867cc8a1bcc7bc81c7d29c51193e3bbf": {
"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 version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 6
},
"nullable": []
}
},
"b7535ecf2e63b7f02b5b96f833fd8cd28285b24473df6f89795ff360c1723215": {
"query": "\nSELECT *\nFROM w2l_template_upload_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 3,
"name": "on_success_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 6,
"name": "download_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 7,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 9,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 10,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 11,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 12,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 13,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 14,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "retry_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
false,
false,
true,
false,
false,
false,
false,
false,
true,
false,
false,
true
]
}
},
"baf058c93336325a642ab07a617c69eae9d2c7467bf3a8248e814063a6c36001": {
"query": "\nUPDATE w2l_templates\nSET\n mod_deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"bc9c6b57b2578b8163956d11a5f6a9a77ddab6098d2c4207e1a70502db30c9d1": {
"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 ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "private_bucket_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
false,
false
]
}
},
"bee13160674414391587f56e8fb0aa3629e3dfcead0afa5759bff1e161f1bb6e": {
"query": "\nUPDATE w2l_templates\nSET\n is_public_listing_approved = ?,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"bf489cf419d342d144f072c310d6d70c9073b092b5721f489eaf2ffc8ad3915e": {
"query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 2 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"c63726afcf8d53a24597aad18bb44285eae8f5d056011811b066226f7db0198a": {
"query": "\nUPDATE w2l_templates\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n maybe_mod_user_token = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"ca5efc3be0f09649df2add5270c06544133288a95ffcb9a0589efd4fe345efe7": {
"query": "\nINSERT INTO badges ( slug, title, description, image_url )\nVALUES ( ?, ?, ?, ? )\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 4
},
"nullable": []
}
},
"cae002e97a3309e0e8361d2a08158c5a1dc1e5b5123c9c5e2c5f8e5e93d07387": {
"query": "\nUPDATE w2l_templates\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"cc51b77e88c2ee5c046ea2f2287b9e9770743d50b0db90481662e5c1118885c5": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.is_locked_from_use,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\nON\n users.token = tts.creator_user_token\nWHERE\n users.username = ?\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"ccd9df6bff43a6c7554e18b4866bccd56a464117477edfa30bb0fc58309eed93": {
"query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n model_token,\n raw_inference_text,\n\n creator_ip_address,\n maybe_creator_user_token,\n creator_set_visibility,\n\n status,\n attempt_count,\n failure_reason,\n created_at,\n updated_at,\n retry_at\nFROM tts_inference_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "inference_job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 3,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "raw_inference_text",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 5,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 6,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 8,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 9,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 10,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 11,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 12,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "retry_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
true,
false,
false,
false,
true,
false,
false,
true
]
}
},
"cf0b037e789ee09022b25f3381b0263c5cc6b59f3f328de4aa211bdb23a62629": {
"query": "\nUPDATE tts_models\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_ip_address_last_update = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"d12757abef811cd6951e0e1427fdb496a8931b547519d320f5ade56007d3eb5d": {
"query": "\nSELECT\n id,\n status\nFROM w2l_template_upload_jobs\nWHERE id = ?\nFOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
}
},
"d14d0e03acc71081726ef0e31bade27110f1ac8eff9ccfe155df5dbd47d06560": {
"query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n maybe_w2l_template_token,\n maybe_public_image_bucket_location,\n maybe_tts_inference_result_token,\n maybe_public_audio_bucket_hash,\n maybe_public_audio_bucket_location,\n\n maybe_original_audio_filename,\n maybe_original_audio_download_url,\n maybe_audio_mime_type,\n\n creator_ip_address,\n maybe_creator_user_token,\n\n creator_set_visibility,\n disable_end_bump,\n disable_watermark,\n\n status,\n attempt_count,\n failure_reason,\n created_at,\n updated_at,\n retry_at\nFROM w2l_inference_jobs\nWHERE\n (\n status IN (\"pending\", \"attempt_failed\")\n )\n AND\n (\n retry_at IS NULL\n OR\n retry_at < CURRENT_TIMESTAMP\n )\n LIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": {
"bits": 515
},
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "inference_job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 3,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_public_image_bucket_location",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "maybe_tts_inference_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "maybe_public_audio_bucket_hash",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 256
}
},
{
"ordinal": 7,
"name": "maybe_public_audio_bucket_location",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "maybe_original_audio_filename",
"type_info": {
"type": "String",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 9,
"name": "maybe_original_audio_download_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 10,
"name": "maybe_audio_mime_type",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 11,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 12,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 13,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 14,
"name": "disable_end_bump",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 15,
"name": "disable_watermark",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 16,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 17,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 18,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 19,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 20,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 21,
"name": "retry_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 128
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
false,
true,
false,
false,
false,
false,
false,
true,
false,
false,
true
]
}
},
"dbce51eb1c80dded902c9509e50713483c7131f115e8ec10646e99e88110278b": {
"query": "\nUPDATE tts_results\nSET\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"de2d38b505ecff7b8b73996888ff6a904c5a0fab38e1c0b6156929c812b94302": {
"query": "\nSELECT\n users.token as user_token,\n users.username,\n users.display_name,\n user_roles.slug as user_role_slug,\n user_roles.name as user_role_name\nFROM\n users\nJOIN user_roles\n ON users.user_role_slug = user_roles.slug\nWHERE\n user_roles.slug != 'user'\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "user_role_slug",
"type_info": {
"type": "String",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 4,
"name": "user_role_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false
]
}
},
"dfc7d0ff70e135e1c4d50c7655b6064e5034f16eacd9bb94070933a68815d270": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.is_locked_from_use,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\nWHERE\n tts.is_locked_from_use IS FALSE\n AND tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 9
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"e3a0bd8073c3c0d84b9ab0e2e1ad8371f14b10801b7e4658b73c42ce1b27fa0b": {
"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.is_public_listing_approved IS TRUE\n AND w2l.user_deleted_at IS NULL\n AND w2l.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "template_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 8
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
}
},
"e73192a3e763a287d5737821443c5a81649f17e39978497b99c52e1e896a75f6": {
"query": "\nSELECT\n token as session_token,\n user_token\nFROM user_sessions\nWHERE token = ?\nAND deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "session_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
}
},
"e9b73703961516622f748fa597b62af6b991a7a36acf9901ca6d315ed2440674": {
"query": "\nUPDATE tts_models\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n maybe_mod_user_token = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"e9ec861d6eb135370f9baf3a866282ec5686d4b299fc4ec10900ab32ea8577d8": {
"query": "\nUPDATE w2l_results\nSET\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"ed67238afe48c159443d215cd1fe2f0264ad840768f789d068527ae542b08194": {
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.created_at,\n tts.updated_at\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\nWHERE\n tts.user_deleted_at IS NULL\n AND tts.mod_deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 7,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false
]
}
},
"ee05f95e45f7aaa5811d70b1f00d3f40a361536dfc6451affcad97586dc3338f": {
"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 ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"f19300f4e8434c2669dac062e5a79c5ca71767c7380aab0ab40b51be8ff449d8": {
"query": "\nUPDATE tts_inference_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 1 minute\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
}
},
"fc0045b6fe338a903fa9f35307457d8dbb32c5838a4783fddf0c9beef7fdb4a5": {
"query": "\nSELECT\n jobs.token as job_token,\n\n jobs.status,\n jobs.attempt_count,\n jobs.on_success_result_token as maybe_result_token,\n results.public_bucket_wav_audio_path as maybe_public_bucket_wav_audio_path,\n\n jobs.model_token,\n tts.tts_model_type,\n tts.title,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM tts_inference_jobs as jobs\nJOIN tts_models as tts\n ON tts.token = jobs.model_token\nLEFT OUTER JOIN tts_results as results\n ON jobs.on_success_result_token = results.token\n\nWHERE jobs.token = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 2,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 3,
"name": "maybe_result_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_public_bucket_wav_audio_path",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4224
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "model_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 7,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 9,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
false,
false,
false,
false,
false
]
}
},
"ffa85f7c65101a43653c724479ee080e0a74577d2ae37863b039f3a452493d1e": {
"query": "\nUPDATE w2l_results\nSET\n user_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
}
}