Files
artcraft/sqlx-data.json
T
2021-05-24 03:21:03 -04:00

995 lines
25 KiB
JSON

{
"db": "MySQL",
"10c82778c4228a4f82ac310371b64171b13d4e6089232bd8c536f1df2614b4c4": {
"query": "\nINSERT INTO w2l_template_upload_jobs\nSET\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n template_type = ?,\n maybe_subject_token = ?,\n maybe_actor_subject_token = ?,\n download_url = ?,\n download_url_type = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 10
},
"nullable": []
}
},
"1eeb7a88f5f8c2961694622b739e0b0689d89dff8a5f6b79d5a57c5b807a23f8": {
"query": "\nUPDATE w2l_template_upload_jobs\nSET\n status = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"26fbb143f69b900a722ce49e14942c6eb14b53dad85aa551f13e742dd6a21573": {
"query": "\nINSERT INTO users (\n token,\n username,\n display_name,\n email_address,\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": 11
},
"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": []
}
},
"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": []
}
},
"53d77ee58e9b1f7fb900914895c25bcccb9297378ff018c1e553b187d1956e92": {
"query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE username = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "password_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 63,
"max_size": 60
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
}
},
"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": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 4,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "tts_model_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 60
}
},
{
"ordinal": 7,
"name": "maybe_subject_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "maybe_actor_subject_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 9,
"name": "download_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 10,
"name": "download_url_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 11,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 12,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 13,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 14,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 16,
"name": "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,
false,
true,
true,
true,
false,
false,
false,
true,
false,
false,
true
]
}
},
"7e05d44d9301158232b9fa5789e22bc0b2193f7c619368feec791e710c5bc3e7": {
"query": "\nINSERT INTO w2l_inference_jobs\nSET\n maybe_w2l_template_token = ?,\n maybe_tts_inference_result_token = ?,\n maybe_audio_bucket_location = NULL,\n maybe_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": []
}
},
"86f9a76cc97b471a23fff5b9ea78f7fc7ecf7603215f5db5a1ca4e063568b054": {
"query": "\nUPDATE user_sessions\nSET deleted_at = CURRENT_TIMESTAMP()\nWHERE token = ?\nAND deleted_at IS NULL\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
}
},
"87882bf91555f47924b49656e5f4fdf8741d00c0543c56a06fc23cdd5b745303": {
"query": "\nINSERT INTO tts_inference_jobs\nSET\n model_token = ?,\n inference_text = ?,\n maybe_creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
}
},
"8bda35672e05e17329659fcb56211978c727cb34210bf91173fbcb4b9389f615": {
"query": "\nINSERT INTO tts_model_upload_jobs\nSET\n uuid_idempotency_token = ?,\n creator_user_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n title = ?,\n tts_model_type = ?,\n maybe_subject_token = ?,\n maybe_actor_subject_token = ?,\n download_url = ?,\n download_url_type = ?,\n status = \"pending\"\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 10
},
"nullable": []
}
},
"8d61bb77449a78044135a3d6e5009a3a27b4671b7e40501d318b05ae401f02a8": {
"query": "\nSELECT token, username, email_address, password_hash\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "email_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "password_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 4225
},
"char_set": 63,
"max_size": 60
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
}
},
"95a8d3bea2906e3c3607989e329fe925dea7e8307a4924d9b3d52d24193d77c4": {
"query": "\nSELECT\n users.token as user_token,\n username,\n display_name,\n email_address,\n email_confirmed,\n profile_markdown,\n profile_rendered_html,\n user_role_slug,\n banned,\n dark_mode,\n avatar_public_bucket_hash,\n disable_gravatar,\n hide_results_preference,\n discord_username,\n twitch_username,\n twitter_username\nFROM users\nLEFT OUTER JOIN user_sessions\nON users.token = user_sessions.user_token\nWHERE user_sessions.token = ?\nAND user_sessions.deleted_at IS NULL\nAND users.deleted_at IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "email_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": "profile_markdown",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 6,
"name": "profile_rendered_html",
"type_info": {
"type": "Blob",
"flags": {
"bits": 4241
},
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 7,
"name": "user_role_slug",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 8,
"name": "banned",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 9,
"name": "dark_mode",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 40
}
},
{
"ordinal": 10,
"name": "avatar_public_bucket_hash",
"type_info": {
"type": "String",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 11,
"name": "disable_gravatar",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "hide_results_preference",
"type_info": {
"type": "Tiny",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "discord_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 14,
"name": "twitch_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 15,
"name": "twitter_username",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 144
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
false,
false,
true,
true,
true
]
}
},
"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": "uuid_idempotency_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4229
},
"char_set": 224,
"max_size": 144
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4233
},
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 4,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "VarString",
"flags": {
"bits": 4225
},
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "template_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 7,
"name": "maybe_subject_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "maybe_actor_subject_token",
"type_info": {
"type": "VarString",
"flags": {
"bits": 136
},
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 9,
"name": "download_url",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 10,
"name": "download_url_type",
"type_info": {
"type": "String",
"flags": {
"bits": 385
},
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 11,
"name": "status",
"type_info": {
"type": "String",
"flags": {
"bits": 393
},
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 12,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": {
"bits": 1
},
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 13,
"name": "failure_reason",
"type_info": {
"type": "VarString",
"flags": {
"bits": 128
},
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 14,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 1153
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 15,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": {
"bits": 9345
},
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 16,
"name": "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,
false,
true,
true,
true,
false,
false,
false,
true,
false,
false,
true
]
}
},
"b8e0f7961f7b339e4a81b7fd47f99d0cd07567b33f0d093b449586154dc16235": {
"query": "\nINSERT INTO tts_models\nSET\n token = ?,\n tts_model_type = \"tacotron2\",\n updatable_slug = ?,\n title = ?,\n description_markdown = '',\n description_rendered_html = '',\n creator_user_token = ?,\n creator_ip_address = ?,\n original_download_url = ?,\n private_bucket_hash = ?,\n private_bucket_object_name = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 8
},
"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": []
}
},
"c11318a1a944cd74f1210b211e19dfaa12652bad2a5d79b010f6efa62f3fa8a9": {
"query": "\nUPDATE tts_model_upload_jobs\nSET\n status = ?,\n failure_reason = NULL,\n retry_at = NULL\nWHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
}
},
"ca5efc3be0f09649df2add5270c06544133288a95ffcb9a0589efd4fe345efe7": {
"query": "\nINSERT INTO badges ( slug, title, description, image_url )\nVALUES ( ?, ?, ?, ? )\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 4
},
"nullable": []
}
},
"e228a3f6766d19b50fa0e01ef2e085bdcb57813cf30e88948f0ec2592e27dbab": {
"query": "\nINSERT INTO w2l_templates\nSET\n token = ?,\n template_type = ?,\n updatable_slug = ?,\n title = ?,\n description_markdown = '',\n description_rendered_html = '',\n creator_user_token = ?,\n creator_ip_address = ?,\n original_download_url = ?,\n private_bucket_hash = ?,\n private_bucket_object_name = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 9
},
"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
]
}
}
}