9465 lines
247 KiB
JSON
9465 lines
247 KiB
JSON
{
|
|
"db": "MySQL",
|
|
"0033c76be0ea1c99069f1a8df1ce400c7064526feaf5dc88930da0718a885b19": {
|
|
"query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.is_banned as creator_is_banned,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n w2l.title,\n w2l.description_markdown,\n w2l.description_rendered_html,\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.creator_set_visibility,\n w2l.is_public_listing_approved,\n w2l.is_locked_from_use,\n w2l.is_locked_from_user_modification,\n w2l.creator_ip_address_creation,\n w2l.creator_ip_address_last_update,\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_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "description_markdown",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "description_rendered_html",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "frame_width",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_public_bucket_preview_image_object_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_public_bucket_preview_video_object_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "is_public_listing_approved",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 8
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "is_locked_from_user_modification",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "creator_ip_address_creation",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "creator_ip_address_last_update",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"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,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"05030f800d4e16abedc75fd0697711e9396a0eae783ad86a86dd7c0540a4d489": {
|
|
"query": "\nINSERT INTO twitch_oauth_tokens\nSET\n maybe_user_token = ?,\n twitch_user_id = ?,\n maybe_twitch_username = ?,\n access_token = ?,\n maybe_refresh_token = ?,\n token_type = ?,\n expires_in_seconds = ?,\n has_bits_read = ?,\n has_channel_read_subscriptions = ?,\n has_channel_read_redemptions= ?,\n has_user_read_follows = ?,\n ip_address_creation = ?,\n expires_at = DATE_ADD(NOW(), INTERVAL ? SECOND)\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 13
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"05612e384bdce558e4834c720d1eb7ca9a09e3cca64b72f1497929d860345ec7": {
|
|
"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 users.email_gravatar_hash as creator_gravatar_hash,\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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"05e0a883bcf6c0563bbb7cad4a5bb357b502b7134d6633a04c993d9f74c8923c": {
|
|
"query": "\nSELECT\n id,\n token AS inference_job_token,\n uuid_idempotency_token,\n\n maybe_w2l_template_token,\n maybe_public_image_bucket_location,\n maybe_tts_inference_result_token,\n maybe_public_audio_bucket_hash,\n maybe_public_audio_bucket_location,\n\n maybe_original_audio_filename,\n maybe_original_audio_download_url,\n maybe_audio_mime_type,\n\n creator_ip_address,\n maybe_creator_user_token,\n\n creator_set_visibility as `creator_set_visibility: crate::database::enums::record_visibility::RecordVisibility`,\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: crate::database::enums::record_visibility::RecordVisibility",
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"089986414149d2d189f4262f8aa7488d35f6a162a4e56f06c1b897092d37ea20": {
|
|
"query": "\nSELECT\n w2l.token as template_token,\n w2l.template_type,\n w2l.creator_user_token,\n users.is_banned as creator_is_banned,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n w2l.title,\n w2l.description_markdown,\n w2l.description_rendered_html,\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.creator_set_visibility,\n w2l.is_public_listing_approved,\n w2l.is_locked_from_use,\n w2l.is_locked_from_user_modification,\n w2l.creator_ip_address_creation,\n w2l.creator_ip_address_last_update,\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_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "description_markdown",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "description_rendered_html",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "frame_width",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_public_bucket_preview_image_object_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_public_bucket_preview_video_object_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "is_public_listing_approved",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 8
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "is_locked_from_user_modification",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "creator_ip_address_creation",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "creator_ip_address_last_update",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"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,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"09e655ea4b3504cbb3bc18b92c6c25861c941ba073e3aead414e560b05bd7638": {
|
|
"query": "\nSELECT count(*) as count\nFROM tts_models\nWHERE\n creator_user_token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"0beeed2c02db2008aac904e20de9eb3677e4b16a11d10975cec566e4ef84c6b6": {
|
|
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\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": "maybe_default_pretrained_vocoder",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "description_markdown",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "description_rendered_html",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "is_locked_from_user_modification",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "creator_ip_address_creation",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "creator_ip_address_last_update",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "mod_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"0ff13b84956c2625050211a5bb2352a489ef8435571c364c8b2d1d21d936cbd4": {
|
|
"query": "\nUPDATE tts_results\nSET\n creator_set_visibility = ?,\n maybe_mod_user_token = ?\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"10d93ef1350115742d8dddb951f98dfebabf7df3e44577b97b52343f0650eba1": {
|
|
"query": "\nSELECT\n badges.slug,\n badges.title,\n badges.description,\n badges.image_url,\n user_badges.created_at as user_created_at\n\nFROM badges\nJOIN user_badges\nON\n badges.slug = user_badges.badge_slug\nWHERE\n user_badges.user_token = ?\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "slug",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "description",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 2048
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "image_url",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 2048
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "user_created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"12a176252df63d1e3a958362d754c828991d64ade427ab11a2025098d1581976": {
|
|
"query": "\nSELECT\n assignments.model_token AS tts_model_token,\n assignments.category_token\nFROM\n tts_category_assignments AS assignments\nJOIN\n tts_models AS tts\n ON assignments.model_token = tts.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 AND assignments.deleted_at IS NULL\n\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "tts_model_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "category_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
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
|
|
]
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"1d0f302c0b7c4301000c024d6bbae4d3b7370ed7c944e4c557c64b0bd2f31c14": {
|
|
"query": "\nSELECT public_count, all_count FROM (\n (SELECT count(*) as public_count \n FROM tts_models \n WHERE user_deleted_at IS NULL \n AND mod_deleted_at IS NULL) as pc,\n (SELECT count(*) as all_count \n FROM tts_models) as ac\n)\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "public_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "all_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"218b3fe667b34bfa158bb7d4f600a3b91a22460adf566dcdf6ce540006e6c684": {
|
|
"query": "\nUPDATE model_categories\nSET\n name = ?,\n maybe_dropdown_name = ?,\n\n can_directly_have_models = ?,\n can_have_subcategories = ?,\n can_only_mods_apply = ?,\n\n maybe_super_category_token = ?,\n\n is_mod_approved = ?,\n maybe_mod_user_token = ?,\n maybe_mod_comments = ?,\n\n version = version + 1\n\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 10
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"2b80162b8957ac044f245af93d678aee976535d58fe0de0b39087323aa720792": {
|
|
"query": "\nUPDATE tts_models\nSET\n maybe_mod_user_token = ?,\n mod_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"2c7795f817e475290e32a2bf1061cdbbf9f08c9bcdf8b03d92b860a5ce15985e": {
|
|
"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 as `creator_set_visibility: crate::database::enums::record_visibility::RecordVisibility`,\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: crate::database::enums::record_visibility::RecordVisibility",
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"314904656a333caa75a8644e73f4d338b7bd6f68c7ea9e37b5bc7f7b257bf34d": {
|
|
"query": "\nSELECT 1 as does_exist\nFROM user_badges\nWHERE\n user_token = ?\nAND\n badge_slug = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "does_exist",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"33cd0c0b8eaaf494ef97232ac89775b8eb6a22d310824b7aa7db310dd4fd41b1": {
|
|
"query": "\nUPDATE w2l_results\nSET\n creator_set_visibility = ?,\n maybe_mod_user_token = ?\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"369a7576edc128cf2b310648d6fc45a2191c1263d433fe6d1461d15dbf26690e": {
|
|
"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 = ?,\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": 12
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"45c86917f422dc22026ba4ba31251cbd784ff1f13709e533048c8a4e5c438485": {
|
|
"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 users.preferred_tts_result_visibility as `preferred_tts_result_visibility: crate::database::enums::record_visibility::RecordVisibility`,\n users.preferred_w2l_result_visibility as `preferred_w2l_result_visibility: crate::database::enums::record_visibility::RecordVisibility`,\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": "preferred_tts_result_visibility: crate::database::enums::record_visibility::RecordVisibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "preferred_w2l_result_visibility: crate::database::enums::record_visibility::RecordVisibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "user_role_slug",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 64
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "can_use_tts",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "can_use_w2l",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "can_delete_own_tts_results",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "can_delete_own_w2l_results",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "can_delete_own_account",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "can_upload_tts_models",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "can_upload_w2l_templates",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "can_delete_own_tts_models",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 21,
|
|
"name": "can_delete_own_w2l_templates",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 22,
|
|
"name": "can_approve_w2l_templates",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "can_edit_other_users_profiles",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"name": "can_edit_other_users_tts_models",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 25,
|
|
"name": "can_edit_other_users_w2l_templates",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 26,
|
|
"name": "can_delete_other_users_tts_models",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 27,
|
|
"name": "can_delete_other_users_tts_results",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 28,
|
|
"name": "can_delete_other_users_w2l_templates",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 29,
|
|
"name": "can_delete_other_users_w2l_results",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 30,
|
|
"name": "can_ban_users",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 31,
|
|
"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,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"4c7a92b6ac43e271096138f3594ca27b0ab6622b1e29a28f4a034c7732be9312": {
|
|
"query": "\nSELECT\n users.username,\n users.display_name,\n users.email_gravatar_hash as gravatar_hash,\n creator_user_token,\n count(*) as uploaded_count\nFROM w2l_templates\nJOIN users\nON\n users.token = creator_user_token\nWHERE\n is_public_listing_approved IS TRUE\n AND users.is_banned IS FALSE\n AND w2l_templates.user_deleted_at IS NULL\n AND w2l_templates.mod_deleted_at IS NULL\nGROUP BY creator_user_token\nORDER BY uploaded_count desc\nLIMIT 25;\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "uploaded_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"4f61f621682ba255814f8a55455ea2b7fba9b6c85affaf87abfe2f81e11322f0": {
|
|
"query": "\nSELECT\n id,\n status\nFROM tts_inference_jobs\nWHERE id = ?\nFOR UPDATE\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 515
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 20
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "status",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 64
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"4ff1b1e0cc36f6c2f1a9b099f38751ae7f35666be939b4074bdfc98e031cd6ac": {
|
|
"query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_results.public_bucket_video_path,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n users.is_banned as maybe_creator_is_banned,\n\n template_users.token as maybe_template_creator_user_token,\n template_users.username as maybe_template_creator_username,\n template_users.display_name as maybe_template_creator_display_name,\n template_users.email_gravatar_hash as maybe_template_creator_gravatar_hash,\n template_users.is_banned as maybe_template_creator_is_banned,\n\n w2l_results.creator_set_visibility,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at,\n\n w2l_results.creator_ip_address,\n w2l_results.user_deleted_at,\n w2l_results.mod_deleted_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as template_users\n ON w2l_templates.creator_user_token = template_users.token\nWHERE\n w2l_results.token = ?\n AND w2l_results.user_deleted_at IS NULL\n AND w2l_results.mod_deleted_at IS NULL\n ",
|
|
"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_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "maybe_template_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "maybe_template_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_template_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_template_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "maybe_template_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "file_size_bytes",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "frame_width",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "creator_ip_address",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 25,
|
|
"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,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"53f0792791317fcd4038308a6630f541d5508ae913cbfa9bc3d4081fba9a048a": {
|
|
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.maybe_default_pretrained_vocoder,\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n tts.title,\n tts.private_bucket_hash,\n tts.created_at,\n tts.updated_at,\n tts.user_deleted_at,\n tts.mod_deleted_at\nFROM tts_models as tts\nJOIN users\nON 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": "maybe_default_pretrained_vocoder",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"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": "private_bucket_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "mod_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"5473d3857478d001688998056377fefe4bcc792477f303b41fa3cf64f79170f3": {
|
|
"query": "\n INSERT INTO tts_category_assignments\n SET\n model_token = ?,\n category_token = ?,\n category_removal_user_token = ?,\n ip_address_creation = ?,\n ip_address_last_update = ?,\n deleted_at = CURRENT_TIMESTAMP\n ON DUPLICATE KEY UPDATE\n model_token = ?,\n category_token = ?,\n category_removal_user_token = ?,\n ip_address_last_update = ?,\n deleted_at = CURRENT_TIMESTAMP\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 9
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"551749bc153f9c8683a3a1ca5bb50744322aac046db34327501cf991485c4dee": {
|
|
"query": "\nUPDATE tts_models\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"5d1f983fd2555c0fcb2ba065e9b3c6174346ee0fdaecacc2a557715a68cf23e2": {
|
|
"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 users.email_gravatar_hash as creator_gravatar_hash,\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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"60c06a507349919addb5d26b1c4a283a04f66fce86e84ed0a51db6001c9fc2b5": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_set_visibility = ?,\n maybe_mod_user_token = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 6
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"619d18c87075a86c01f1e0ac26744774293ff8ca6b0011ce611b3f47d8a97a0e": {
|
|
"query": "\nSELECT\n w2l_templates.token as template_token,\n w2l_templates.title,\n w2l_templates.template_type,\n w2l_templates.duration_millis,\n w2l_templates.frame_width,\n w2l_templates.frame_height,\n w2l_templates.creator_user_token,\n users.username AS creator_username,\n users.display_name AS creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n w2l_templates.created_at\nFROM\n w2l_templates\nJOIN\n users\nON\n users.token = w2l_templates.creator_user_token\nWHERE\n w2l_templates.is_public_listing_approved IS NULL\n AND w2l_templates.user_deleted_at IS NULL\n AND w2l_templates.mod_deleted_at IS NULL\n AND w2l_templates.is_locked_from_use IS FALSE\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "template_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "template_type",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "frame_width",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"63ac1d3f54c8258b7d20d3f689b2613809099feb4df925c680594a1e43e74bcd": {
|
|
"query": "\nSELECT\n tts.token as model_token,\n tts.tts_model_type,\n tts.text_preprocessing_algorithm,\n tts.maybe_default_pretrained_vocoder,\n\n tts.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash as creator_gravatar_hash,\n users.is_banned as creator_is_banned,\n\n tts.title,\n tts.description_markdown,\n tts.description_rendered_html,\n\n tts.creator_set_visibility,\n\n tts.is_locked_from_use,\n tts.is_locked_from_user_modification,\n\n tts.created_at,\n tts.updated_at,\n\n tts.creator_ip_address_creation,\n tts.creator_ip_address_last_update,\n tts.mod_deleted_at,\n tts.user_deleted_at\n\nFROM tts_models as tts\nJOIN users\n ON users.token = tts.creator_user_token\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": "text_preprocessing_algorithm",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "maybe_default_pretrained_vocoder",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "description_markdown",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "description_rendered_html",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "is_locked_from_user_modification",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "creator_ip_address_creation",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "creator_ip_address_last_update",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "mod_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"68376f750b8421c10d319fa1045a2f3ce8fb1d35a5fe6ec92b2022babafbde80": {
|
|
"query": "\nUPDATE users\nSET\n user_role_slug = ?\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"6aaa7c04e6984434bd2feb6f42a9014cd45e995b94e4d5e29f2d502f09136691": {
|
|
"query": "\nUPDATE tts_models\nSET\n maybe_mod_user_token = ?,\n mod_deleted_at = NULL\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": []
|
|
}
|
|
},
|
|
"720d7a26fb8ce75a8a1b3a62ef509d8ca99d419172e9cc5d8e2c803e0eebcb7f": {
|
|
"query": "\n UPDATE model_categories\n SET\n deleted_at = NULL\n WHERE\n token = ?\n LIMIT 1\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": []
|
|
}
|
|
},
|
|
"7490dcb8de10b1eda2c857e53ebc5c0465cdb589d3df4c5549859f7919acac77": {
|
|
"query": "\nSELECT token, username, email_address, password_hash, is_banned\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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"87d7261dd2a589220c5539f51dde42ef2407677f7ece7968761426c6fd0e0360": {
|
|
"query": "\nSELECT\n category.token as category_token,\n category.model_type,\n category.maybe_super_category_token,\n category.can_directly_have_models,\n category.can_have_subcategories,\n category.can_only_mods_apply,\n category.name,\n category.maybe_dropdown_name,\n category.creator_user_token,\n users.username as creator_username,\n users.display_name as creator_display_name,\n users.email_gravatar_hash AS creator_gravatar_hash,\n category.creator_ip_address_creation,\n category.creator_ip_address_last_update,\n category.is_mod_approved,\n category.maybe_mod_comments,\n category.maybe_mod_user_token,\n category.created_at,\n category.updated_at,\n category.deleted_at\nFROM model_categories AS category\nJOIN users\nON category.creator_user_token = users.token\nWHERE\n category.token = ?\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "category_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "model_type",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 393
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "maybe_super_category_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "can_directly_have_models",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "can_have_subcategories",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "can_only_mods_apply",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "maybe_dropdown_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "creator_ip_address_creation",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "creator_ip_address_last_update",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "is_mod_approved",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 8
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "maybe_mod_comments",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "maybe_mod_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"8b1b9cf11b80da18d79237f2579a96b4a85fa7201118e01fffc01c1eba64cbaf": {
|
|
"query": "\n UPDATE model_categories\n SET\n deleted_at = CURRENT_TIMESTAMP\n WHERE\n token = ?\n LIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"8ff27fc5583db97f157f1b808f593a72c77dc5dcf5a633cd9c1162af6b97c011": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"91beefeb04c0baafe4c3983c2760df2e5d08ea5e2433225221d20da8d2dca114": {
|
|
"query": "\nINSERT INTO twitch_oauth_tokens\nSET\n maybe_user_token = ?,\n twitch_user_id = ?,\n maybe_twitch_username = ?,\n access_token = ?,\n maybe_refresh_token = ?,\n token_type = ?,\n expires_in_seconds = NULL,\n has_bits_read = ?,\n has_channel_read_subscriptions = ?,\n has_channel_read_redemptions= ?,\n has_user_read_follows = ?,\n ip_address_creation = ?,\n expires_at = NULL\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 11
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"961f792c24bee6009e3e8a215561db932871a53c48839b8cb80292de00e7b2e1": {
|
|
"query": "\nUPDATE tts_results\nSET\n user_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"9c04e83ce78dafd7b84edf057f30a834d459f710d0836dcf7f211f7cd17e24e3": {
|
|
"query": "\nUPDATE tts_models\nSET\n maybe_default_pretrained_vocoder = ?,\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_set_visibility = ?,\n creator_ip_address_last_update = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 7
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"9cc5f697350814199344d3d9a0ff026e0d1e09e9097648400d4b63cfcbd31178": {
|
|
"query": "\nUPDATE w2l_results\nSET\n creator_set_visibility = ?,\n creator_ip_address = ?\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"a60b239dff945c0089ded216dc6b4ea1bd7acb2125671bebdd34e5e1312270ce": {
|
|
"query": "\nSELECT\n users.username,\n users.display_name,\n users.email_gravatar_hash as gravatar_hash,\n creator_user_token,\n count(*) as uploaded_count\nFROM tts_models\nJOIN users\nON\n users.token = creator_user_token\nWHERE\n users.is_banned IS FALSE\n AND tts_models.user_deleted_at IS NULL\n AND tts_models.mod_deleted_at IS NULL\nGROUP BY creator_user_token\nORDER BY uploaded_count desc\nLIMIT 25;\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "uploaded_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"a9173fd8148645bda75529aae0af63dcfb7cf9e114604ce4dcc962974e7268e1": {
|
|
"query": "\nSELECT\n NOW() - t2.created_at AS seconds_since_first,\n (\n SELECT\n count(t1.id) as pending_count\n FROM tts_inference_jobs AS t1\n WHERE t1.status = \"pending\"\n ) as pending_count\nFROM tts_inference_jobs AS t2\nWHERE t2.status = \"pending\"\nORDER BY t2.id ASC\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "seconds_since_first",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 16
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "pending_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"ab981965f518a8986aaaba41ed821fcb438db4c6156cbb26f639921225a88d59": {
|
|
"query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = \"dead\",\n failure_reason = ?,\n retry_at = NULL\nWHERE id = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"adc494ddafaa13aebe423984f32a0d8810da604b19f5d6e0081b5e891dfc0f52": {
|
|
"query": "\nUPDATE tts_models\nSET\n maybe_default_pretrained_vocoder = ?,\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_set_visibility = ?,\n maybe_mod_user_token = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 7
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"ae04054c4d32e581dd183fd7ebb8e48fc7df856d2ffd8036d9ce6006bb7a296a": {
|
|
"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.failure_reason as maybe_failure_reason,\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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "maybe_template_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "maybe_failure_reason",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 2048
|
|
}
|
|
},
|
|
{
|
|
"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": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
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": []
|
|
}
|
|
},
|
|
"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": []
|
|
}
|
|
},
|
|
"b58e215a61914d06cfdadc92130e8423e1b2db24c03850697873cd21a75dae61": {
|
|
"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 tts_results.maybe_pretrained_vocoder_used,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n users.is_banned as maybe_creator_is_banned,\n\n 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 model_users.is_banned as maybe_model_creator_is_banned,\n\n tts_results.public_bucket_wav_audio_path,\n tts_results.public_bucket_spectrogram_path,\n\n tts_results.creator_set_visibility,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at,\n\n tts_results.creator_ip_address,\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_pretrained_vocoder_used",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "maybe_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "maybe_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "maybe_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "maybe_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "maybe_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "maybe_model_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "maybe_model_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "maybe_model_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_model_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_model_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "public_bucket_wav_audio_path",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "public_bucket_spectrogram_path",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "file_size_bytes",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 21,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 22,
|
|
"name": "creator_ip_address",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"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,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"b8746ae4ff2d4dcd54563eff64877f924bb119681ad78f1300146e00b762ca4f": {
|
|
"query": "\nINSERT INTO tts_results\nSET\n token = ?,\n\n model_token = ?,\n maybe_pretrained_vocoder_used = ?,\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 = ?,\n\n public_bucket_wav_audio_path = ?,\n public_bucket_spectrogram_path = ?,\n\n file_size_bytes = ?,\n duration_millis = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 14
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"ba31fefd3e96fd238fc2bcdfab64f390a17293f2c0996ae891ed8821e57512cd": {
|
|
"query": "\nSELECT\n w2l_results.token as w2l_result_token,\n w2l_results.maybe_tts_inference_result_token,\n\n w2l_results.public_bucket_video_path,\n\n w2l_templates.token as maybe_w2l_template_token,\n w2l_templates.template_type,\n w2l_templates.title as template_title,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n users.is_banned as maybe_creator_is_banned,\n\n template_users.token as maybe_template_creator_user_token,\n template_users.username as maybe_template_creator_username,\n template_users.display_name as maybe_template_creator_display_name,\n template_users.email_gravatar_hash as maybe_template_creator_gravatar_hash,\n template_users.is_banned as maybe_template_creator_is_banned,\n\n w2l_results.creator_set_visibility,\n\n w2l_results.file_size_bytes,\n w2l_results.frame_width,\n w2l_results.frame_height,\n w2l_results.duration_millis,\n w2l_results.created_at,\n w2l_results.updated_at,\n\n w2l_results.creator_ip_address,\n w2l_results.user_deleted_at,\n w2l_results.mod_deleted_at\n\nFROM w2l_results\nLEFT OUTER JOIN w2l_templates\n ON w2l_results.maybe_w2l_template_token = w2l_templates.token\nLEFT OUTER JOIN users\n ON w2l_results.maybe_creator_user_token = users.token\nLEFT OUTER JOIN users as template_users\n ON w2l_templates.creator_user_token = template_users.token\nWHERE\n w2l_results.token = ?\n ",
|
|
"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_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "maybe_template_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "maybe_template_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_template_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_template_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "maybe_template_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "file_size_bytes",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "frame_width",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "creator_ip_address",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 25,
|
|
"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,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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": []
|
|
}
|
|
},
|
|
"bf779826a10dd532f442d5b6a7ad3f35037276e8f822a3a633ca325c85c34234": {
|
|
"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 users.email_gravatar_hash as creator_gravatar_hash,\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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"c0f56e2656b566d3a8c869d39b0b56d1fbb75d7d9e817a24b10add44d348092d": {
|
|
"query": "\nSELECT count(*) as count\nFROM w2l_templates\nWHERE\n creator_user_token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"c15e7c97a254b2bf33e54e093e5f058f206602c9bde97ccd8fc0f4521e2ddfc2": {
|
|
"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 disable_gravatar,\n preferred_tts_result_visibility as `preferred_tts_result_visibility: crate::database::enums::record_visibility::RecordVisibility`,\n preferred_w2l_result_visibility as `preferred_w2l_result_visibility: crate::database::enums::record_visibility::RecordVisibility`,\n discord_username,\n twitch_username,\n twitter_username,\n patreon_username,\n github_username,\n cashapp_username,\n website_url,\n is_banned,\n maybe_mod_comments,\n maybe_mod_user_token,\n created_at\nFROM users\nWHERE\n users.username = ?\n AND users.user_deleted_at IS NULL\n AND users.mod_deleted_at IS NULL\n ",
|
|
"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": "disable_gravatar",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "preferred_tts_result_visibility: crate::database::enums::record_visibility::RecordVisibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "preferred_w2l_result_visibility: crate::database::enums::record_visibility::RecordVisibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "discord_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "twitch_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "twitter_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "patreon_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "github_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "cashapp_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 144
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "website_url",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "maybe_mod_comments",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "maybe_mod_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"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,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
true,
|
|
true,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"c4640a618e1d179fa95adce67a329818f8b1626ac88fa76dbb871b8788136191": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n maybe_mod_user_token = ?,\n mod_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"c7bff6a198838ec7209f2b48ef1d8fe850e66aa532ed562aac75dd3adfaf48a9": {
|
|
"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 tts_results.maybe_pretrained_vocoder_used,\n\n users.token as maybe_creator_user_token,\n users.username as maybe_creator_username,\n users.display_name as maybe_creator_display_name,\n users.email_gravatar_hash as maybe_creator_gravatar_hash,\n users.is_banned as maybe_creator_is_banned,\n\n 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 model_users.is_banned as maybe_model_creator_is_banned,\n\n tts_results.public_bucket_wav_audio_path,\n tts_results.public_bucket_spectrogram_path,\n\n tts_results.creator_set_visibility,\n\n tts_results.file_size_bytes,\n tts_results.duration_millis,\n tts_results.created_at,\n tts_results.updated_at,\n\n tts_results.creator_ip_address,\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_pretrained_vocoder_used",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 256
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "maybe_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "maybe_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "maybe_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "maybe_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "maybe_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "maybe_model_creator_user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "maybe_model_creator_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4228
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "maybe_model_creator_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "maybe_model_creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4224
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 14,
|
|
"name": "maybe_model_creator_is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 0
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 15,
|
|
"name": "public_bucket_wav_audio_path",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 16,
|
|
"name": "public_bucket_spectrogram_path",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 17,
|
|
"name": "creator_set_visibility",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 385
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 28
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 18,
|
|
"name": "file_size_bytes",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 19,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 20,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 21,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 22,
|
|
"name": "creator_ip_address",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 160
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 23,
|
|
"name": "user_deleted_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 136
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 24,
|
|
"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,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"ca5efc3be0f09649df2add5270c06544133288a95ffcb9a0589efd4fe345efe7": {
|
|
"query": "\nINSERT INTO badges ( slug, title, description, image_url )\nVALUES ( ?, ?, ?, ? )\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 4
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"cc4372cdd1a65999cbaf008f200683eedc93ab83e17256e47e011667ba8384d8": {
|
|
"query": "\nUPDATE tts_results\nSET\n creator_set_visibility = ?,\n creator_ip_address = ?\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"ce629cea6c387590759cc89a060c471ecdcb5d5f46a53576897a963154ed4d74": {
|
|
"query": "\n INSERT INTO tts_category_assignments\n SET\n model_token = ?,\n category_token = ?,\n category_addition_user_token = ?,\n ip_address_creation = ?,\n ip_address_last_update = ?,\n deleted_at = NULL\n ON DUPLICATE KEY UPDATE\n model_token = ?,\n category_token = ?,\n category_addition_user_token = ?,\n ip_address_last_update = ?,\n deleted_at = NULL\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 9
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"d2ef33027abc15b6ec00260f7d30a8c66a3190229ea103ecb571d4957af63525": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n title = ?,\n description_markdown = ?,\n description_rendered_html = ?,\n creator_set_visibility = ?,\n creator_ip_address_last_update = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 6
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"d71ef2cfed337f9e3f9e1c2255bdec6347763910fd589482f0b0e56b794d7bb7": {
|
|
"query": "\nUPDATE tts_models\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"d850784ca167e686b91fdd4d3cce20c7a00e4e38e4da629733114a1c55ba4ab3": {
|
|
"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 = ?,\n status = \"pending\"\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 10
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"da3197d279b94817c6c8a6277aff7a0cf44d66e6777f46680b1b07de48875dd5": {
|
|
"query": "\nINSERT INTO user_badges\nSET\n user_token = ?,\n badge_slug = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"dfe818ab849c5f6e2a5931142aab640d249aa96cb85dc06bfffae4d7feef541e": {
|
|
"query": "\nSELECT\n NOW() - t2.created_at AS seconds_since_first,\n (\n SELECT\n count(t1.id) as pending_count\n FROM w2l_inference_jobs AS t1\n WHERE t1.status = \"pending\"\n ) as pending_count\nFROM w2l_inference_jobs AS t2\nWHERE t2.status = \"pending\"\nORDER BY t2.id ASC\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "seconds_since_first",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 129
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 16
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "pending_count",
|
|
"type_info": {
|
|
"type": "LongLong",
|
|
"flags": {
|
|
"bits": 128
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 21
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
true
|
|
]
|
|
}
|
|
},
|
|
"e0ad2a7fe4ae795e4f097f604d5cfcf9605298b58cde5ca23bdf9c8ec7383b00": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n creator_ip_address_last_update = ?,\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"e0d442313b7861debaef984c5809647bd5df85106c194b66e864674b6af95330": {
|
|
"query": "\nUPDATE tts_inference_jobs\nSET\n status = \"dead\",\n failure_reason = ?,\n retry_at = NULL\nWHERE id = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "frame_height",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "duration_millis",
|
|
"type_info": {
|
|
"type": "Long",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"e4e5be790f087b9aa6bee87e2315140bf621e4919362ebe72ab070163f18e9c8": {
|
|
"query": "\nUPDATE w2l_templates\nSET\n maybe_mod_user_token = ?,\n mod_deleted_at = CURRENT_TIMESTAMP\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"e73192a3e763a287d5737821443c5a81649f17e39978497b99c52e1e896a75f6": {
|
|
"query": "\nSELECT\n token as session_token,\n user_token\nFROM user_sessions\nWHERE token = ?\nAND deleted_at IS NULL\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "session_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "user_token",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4233
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"e9ec861d6eb135370f9baf3a866282ec5686d4b299fc4ec10900ab32ea8577d8": {
|
|
"query": "\nUPDATE w2l_results\nSET\n user_deleted_at = NULL\nWHERE\n token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"eab69a8d679b2dcfb06a9ccc79851f6c693d0c372142ff0e7ded89c95e4bcf44": {
|
|
"query": "\nUPDATE users\nSET\n is_banned = ?,\n maybe_mod_comments = ?,\n maybe_mod_user_token = ?,\n version = version + 1\n\nWHERE users.token = ?\nLIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 4
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"eadbe83c69c09f3e049ec7c760d1af0313cec8f3d82c0993e526738aa4d0a6dc": {
|
|
"query": "\nSELECT\n ip_bans.ip_address,\n\n ip_bans.maybe_target_user_token,\n banned_users.username as maybe_target_username,\n\n ip_bans.mod_user_token,\n mod_users.username as mod_username,\n mod_users.display_name as mod_display_name,\n\n ip_bans.mod_notes,\n ip_bans.created_at,\n ip_bans.updated_at\nFROM\n ip_address_bans AS ip_bans\nLEFT OUTER JOIN users as banned_users\n ON ip_bans.maybe_target_user_token = banned_users.token\nJOIN users as mod_users\n ON ip_bans.mod_user_token = mod_users.token\nWHERE\n ip_bans.deleted_at IS NULL\n ",
|
|
"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_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "mod_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "mod_notes",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"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,
|
|
true,
|
|
true,
|
|
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": []
|
|
}
|
|
},
|
|
"ef239806d026cd59106f79b3dc7c850da2bbc325a1adb831f319f87c0b07b56b": {
|
|
"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 users.email_gravatar_hash as creator_gravatar_hash,\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": "creator_gravatar_hash",
|
|
"type_info": {
|
|
"type": "String",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 128
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "title",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 1020
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "is_locked_from_use",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 9
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "created_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 1153
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "updated_at",
|
|
"type_info": {
|
|
"type": "Timestamp",
|
|
"flags": {
|
|
"bits": 9345
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 19
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"ef828549a221fe6fad3105fede0b38a439a685d6ea7f83a0657df9cdbb80c589": {
|
|
"query": "\nSELECT\n ip_bans.ip_address,\n\n ip_bans.maybe_target_user_token,\n banned_users.username as maybe_target_username,\n\n ip_bans.mod_user_token,\n mod_users.username as mod_username,\n mod_users.display_name as mod_display_name,\n\n ip_bans.mod_notes,\n ip_bans.created_at,\n ip_bans.updated_at\nFROM\n ip_address_bans AS ip_bans\nLEFT OUTER JOIN users as banned_users\n ON ip_bans.maybe_target_user_token = banned_users.token\nJOIN users as mod_users\n ON ip_bans.mod_user_token = mod_users.token\nWHERE\n ip_bans.ip_address = ?\nLIMIT 1\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_username",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4229
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "mod_display_name",
|
|
"type_info": {
|
|
"type": "VarString",
|
|
"flags": {
|
|
"bits": 4225
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 80
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "mod_notes",
|
|
"type_info": {
|
|
"type": "Blob",
|
|
"flags": {
|
|
"bits": 4241
|
|
},
|
|
"char_set": 224,
|
|
"max_size": 262140
|
|
}
|
|
},
|
|
{
|
|
"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,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false,
|
|
false
|
|
]
|
|
}
|
|
},
|
|
"f19300f4e8434c2669dac062e5a79c5ca71767c7380aab0ab40b51be8ff449d8": {
|
|
"query": "\nUPDATE tts_inference_jobs\nSET\n status = ?,\n failure_reason = ?,\n retry_at = NOW() + interval 1 minute\nWHERE id = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"f75b713d166398ebea2bdbde4e416dc8eb2c48dba4aa9bd164bcf5bc77237ce1": {
|
|
"query": "\nUPDATE users\nSET\n profile_markdown = ?,\n profile_rendered_html = ?,\n preferred_tts_result_visibility = ?,\n preferred_w2l_result_visibility = ?,\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": 12
|
|
},
|
|
"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": 11
|
|
}
|
|
},
|
|
{
|
|
"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
|
|
]
|
|
}
|
|
},
|
|
"fd31f7abe386147c07f862d668c9e56eb3d809c4f0a61b7debf9b2e3785a4c83": {
|
|
"query": "\nINSERT INTO model_categories\nSET\n token = ?,\n uuid_idempotency_token = ?,\n model_type = ?,\n name = ?,\n\n creator_user_token = ?,\n creator_ip_address_creation = ?,\n creator_ip_address_last_update = ?,\n\n is_mod_approved = ?,\n maybe_mod_user_token = ?,\n can_directly_have_models = ?,\n can_have_subcategories = ?,\n can_only_mods_apply = ?\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 12
|
|
},
|
|
"nullable": []
|
|
}
|
|
},
|
|
"feb0dae816a5701707a76e15011ea6cb262b10c663abf2cf1fb46bd9b1cebe09": {
|
|
"query": "\nSELECT token, username, email_address, password_hash, is_banned\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
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "is_banned",
|
|
"type_info": {
|
|
"type": "Tiny",
|
|
"flags": {
|
|
"bits": 1
|
|
},
|
|
"char_set": 63,
|
|
"max_size": 1
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
},
|
|
"nullable": [
|
|
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": []
|
|
}
|
|
}
|
|
} |