Compare commits

..
Author SHA1 Message Date
Brandon Thomas 3b88979859 remove print statements 2026-04-08 10:22:56 -04:00
Brandon Thomas 20f16236e6 transcode video 2026-04-08 10:21:37 -04:00
Brandon Thomas df3dac8982 ffmpeg transcode 2026-04-08 10:00:10 -04:00
4901 changed files with 93190 additions and 373036 deletions
+2 -30
View File
@@ -6,11 +6,7 @@
- No minimum supported Rust version; use latest stable features freely
- `#[macro_use] extern crate serde_derive;` is used in binary crates; library crates use `use serde_derive::{Serialize, Deserialize};`
- Never use `println!` or `eprintln!` outside of tests; use `log` crate macros (`info!`, `warn!`, `error!`, `debug!`, `trace!`) instead
- Use `anyhow::Result` / `AnyhowResult` for fallible functions in application code; new database queries should use `Result<T, sqlx::Error>` instead
- SQLx queries: prefer `sqlx::query!` and `sqlx::query_as!` compile-time checked macros over
runtime `sqlx::query()` / `sqlx::query_as()`. The macros catch SQL typos, column mismatches,
and type errors at build time. Use runtime queries only when assembling complicated
dynamic/branching queries that cannot be expressed as a compile-time macro.
- Use `anyhow::Result` / `AnyhowResult` for fallible functions in application code
- Enum Display/Debug: use `impl_enum_display_and_debug_using_to_str!` macro, not `derive_more::Display` (CLion doesn't understand it)
- Fields that are optional use the `maybe_` prefix: `maybe_creator_user_token`, `maybe_prompt_token`
- When implementing `fmt::Display` for error types, use the pattern: `write!(f, "{:?}", self)`
@@ -42,21 +38,6 @@ then the story, then the fine print.
- A method that calls another method in the same file should appear *above* the method
it calls. This lets readers follow the call chain downward.
### Ordering within test modules
Put test cases first, helpers last. A reader opening a test file should immediately see
*what* is being tested before *how* the test machinery works.
1. **Imports**
2. **Constants** (test IDs, URLs, fixture data) — small context that tests reference
3. **Test functions** or **sub-modules** grouped by category
4. **Helper functions** (builders, pipeline runners, assertions)
Group related tests into sub-modules (`mod pricing_tests { ... }`) when a category has 2+
tests. Don't create a sub-module for a single test. Keep nesting to two levels max
(`mod tests { mod category { ... } }`). Shared helpers go in the parent module so
sub-modules can reach them via `use super::*`.
## Naming
- Handler functions: `{verb}_{noun}_handler` (e.g. `get_health_check_handler`, `login_handler`)
@@ -68,24 +49,15 @@ sub-modules can reach them via `use super::*`.
## Imports
- Group imports: std, external crates, internal workspace crates, `crate::` imports
- Prefer `use` imports over inline fully-qualified paths. Inline qualification is acceptable
only for genuine one-off references where adding an import would be noise, or for types
that collide with std prelude names (`Result`, `Option`, `Error`). If you reference a symbol
more than once, always import it.
- Use fully qualified paths for one-off references; `use` for repeated references
- Prefer specific imports over wildcards, except in `api_doc.rs` and test modules
- When two crates export a type with the same name, alias with a suffix describing the source crate:
`use enums::...::CommonResolution as CommonResolutionEnum;`
`use artcraft_router::...::CommonResolution as CommonResolutionRouter;`
This avoids long fully-qualified paths in function signatures and bodies.
## MySQL
- MySQL tables: primary key `id` columns must be `BIGINT(20) UNSIGNED`. Do not use signed IDs.
- Always create tables with `ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin`.
## TypeScript / Frontend
- TypeScript with React, Vite, Zustand, Three.js
- Nx monorepo under `crates/frontend/`
- Two spaces for indentation
+1 -27
View File
@@ -10,28 +10,10 @@
## Test Patterns
- Tests live in `#[cfg(test)] mod tests { ... }` at the bottom of each file
- Group related tests into sub-modules by category (e.g. `mod pricing_tests`, `mod resolution_tests`)
- Only create a sub-module when it has 2+ tests — don't wrap a single test in its own module
- Keep nesting shallow: `mod tests { mod category { ... } }` is fine; a third level is rarely needed
- Shared helpers used by multiple sub-modules belong in the parent `mod tests`, not duplicated in each sub-module
- Group related tests in sub-modules: `mod explicit_checks`, `mod mechanical_checks`
- Enum tests should cover: serialization, deserialization, `to_str`/`from_str` round-trip, variant count
- Password/crypto tests: be mindful of computation cost, don't add too many bcrypt test cases
## Test File Layout
Put test cases first, helpers last. Engineers should see the actual tests before scrolling
to understand helper plumbing.
Within a `mod tests { ... }` block:
1. **Imports** at the top
2. **Constants** (test data IDs, URLs, etc.) — small context that tests reference
3. **Test functions** (`#[test]` / `#[tokio::test]`) grouped by category
4. **Helper functions** (builders, pipeline runners, etc.) at the very bottom
If tests are grouped into sub-modules, the same rule applies within each sub-module:
constants first, then tests, then helpers at the end of that sub-module.
## What to Test
- New error types and their mappings
@@ -39,14 +21,6 @@ constants first, then tests, then helpers at the end of that sub-module.
- Hash/deduplication functions with known inputs
- Edge cases in parsers (empty input, missing fields, malformed data)
## Imports in Tests
- Import test fixtures and constants with `use`, not inline fully-qualified paths.
Write `use test_data::web::image_urls::JUNO_AT_LAKE_IMAGE_URL;` at the top,
then reference `JUNO_AT_LAKE_IMAGE_URL` in test bodies.
- Same rule applies to enum variants used in match arms — import them, don't write
`crate::some::deep::module::MyEnum::Variant` inline.
## What Not to Test
- Don't add integration tests that require a running database unless explicitly asked
+65 -53
View File
@@ -43,69 +43,82 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
# Free up disk on the runner before BuildKit fills it up. The cargo
# release build inside the Dockerfile produces multi-GB target dirs
# for 8 binaries; the GHA runner ships with ~14 GB pre-installed
# tooling (Android SDK, .NET, etc.) that we don't need.
- name: Free disk space
run: |
set -x
df -h /
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc \
/opt/hostedtoolcache/CodeQL || true
sudo docker system prune -af --volumes || true
df -h /
# - uses: docker/setup-buildx-action@v1
# name: Set up Docker Buildx
# BuildKit is required for the `cache-from`/`cache-to` options on
# docker/build-push-action.
- uses: docker/setup-buildx-action@v3
name: Set up Docker Buildx
- uses: docker/login-action@v3
- uses: docker/login-action@v1
name: Login to GitHub Container Registry
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.actor }} # username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
# Match the previous workflow's 12-char short-SHA convention exactly,
# since some downstream consumers may pin to it. metadata-action's
# built-in `type=sha,format=short` only gives a 7-char prefix.
- id: vars
name: Calculate short SHA
- name: Calculate short SHA
id: vars
# echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
run: |
echo "sha_short=$(echo ${{ github.sha }} | cut -c1-12)" >> $GITHUB_OUTPUT
- id: meta
name: Compute Docker tags
uses: docker/metadata-action@v5
with:
images: ghcr.io/storytold/storyteller-rust
tags: |
type=raw,value=latest
type=raw,value=${{ github.sha }}
type=raw,value=${{ steps.vars.outputs.sha_short }}
- name: Emit short SHA
run: |
echo "Full SHA: ${{ github.sha }}"
echo "Short SHA: ${{ steps.vars.outputs.sha_short }}"
- name: Build and push
uses: docker/build-push-action@v6
#- uses: actions/cache@v2
# name: Cache Docker layers
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-buildx-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-buildx-
# Docs for this action are at https://github.com/marketplace/actions/build-docker-images-using-cache
- uses: whoan/docker-build-with-cache-action@v6
with:
context: .
file: ./build/service_cpu.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_SHA=${{ github.sha }}
# GitHub Actions cache backend for BuildKit. `mode=max` saves
# all intermediate layers, not just the final image — critical
# for our multi-stage Cargo builds.
cache-from: type=gha
cache-to: type=gha,mode=max
# The runner has plenty of memory; this prevents BuildKit from
# OOM-killing the cargo linker on a 16+ GB workspace build.
provenance: false
registry: ghcr.io
username: ${{ github.actor }} # username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image_name: storytold/storyteller-rust
dockerfile: ./build/service_cpu.Dockerfile
# NB: The `git_push_tag: true` option does not work as expected, so we put the sha in `image_tag`:
# https://github.com/whoan/docker-build-with-cache-action/issues/72
image_tag: latest,${{ github.sha }},${{ steps.vars.outputs.sha_short }}
# NB: Inject the Git SHA into the container so the servers can emit their own version:
build_extra_args: "--build-arg=GIT_SHA=${{ github.sha }}"
# - name: Build image
# run: |
# SHORT_SHA=$(echo ${GITHUB_SHA} | cut -c1-12)
# docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" --build-arg GIT_SHA=${SHORT_SHA}
# - name: Push image to GitHub Container Registry
# run: |
# IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
# # Change all uppercase to lowercase
# IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# # Strip git ref prefix from version
# VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# # Strip "v" prefix from tag name
# [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# # Use Docker `latest` tag convention
# [ "$VERSION" == "$default-branch" ] && VERSION=latest
# echo IMAGE_ID=$IMAGE_ID
# echo VERSION=$VERSION
# docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
# docker push $IMAGE_ID:$VERSION
# SHORT_SHA=$(echo ${GITHUB_SHA} | cut -c1-12)
# docker tag $IMAGE_NAME $IMAGE_ID:$SHORT_SHA
# docker push $IMAGE_ID:$SHORT_SHA
- name: Cleanup / Debug
# This job will run even on failures to help with debugging.
@@ -114,5 +127,4 @@ jobs:
echo "Report at final github action step:"
echo "Disk usage:"
pwd
du -hsc * 2>/dev/null | sort -hr || true
df -h /
du -hsc * | sort -hr
-3
View File
@@ -16,7 +16,6 @@ env-secrets
pubkeys.txt
secrets.toml
secrets.yaml
secrets/
twitch_secrets.toml
# Old env secrets
@@ -38,7 +37,6 @@ script/socat_dev_database_connect.sh
venv/
# LLM Testing
/external/
/prompts/
/reports/
/requests/
@@ -103,4 +101,3 @@ windows/sqlite/sqlite3.lib
# ArtCraft Windows DLLs
crates/desktop/src-tauri/*.dll
windows_dlls/
@@ -0,0 +1,289 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_is_banned",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 4,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 6,
"name": "creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "title",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "description_markdown",
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 9,
"name": "description_rendered_html",
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 10,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 11,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 12,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 13,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 14,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 15,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 16,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": "MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 17,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 18,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 19,
"name": "creator_ip_address_creation",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 20,
"name": "creator_ip_address_last_update",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 21,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 22,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 23,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 24,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"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
]
},
"hash": "0033c76be0ea1c99069f1a8df1ce400c7064526feaf5dc88930da0718a885b19"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n INSERT INTO tasks (\n id,\n task_status,\n task_type,\n model_type,\n provider,\n provider_job_id,\n frontend_caller,\n frontend_subscriber_id,\n frontend_subscriber_payload\n )\n VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 9
},
"nullable": []
},
"hash": "01a0bf33e8331c19dc73f064c54eaa863bec158ef7713450a06c75e246f5f08c"
}
@@ -0,0 +1,36 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | PRIMARY_KEY | AUTO_INCREMENT",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 64
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
},
"hash": "02060ab9b8ca472a2bd4d4fa3120743e90148ccd6a4cb13bc491d00f36ed7a8f"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "entity_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "entity_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "user_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "created_at"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "updated_at"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "title"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "has_index_file"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "private_bucket_hash"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "created_at"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "updated_at"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "user_deleted_at"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "mod_deleted_at"
}
}
}
],
@@ -1,264 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n f.id as `id: u64`,\n f.token as `token: FolderToken`,\n f.name,\n f.owner_user_token as `owner_user_token: UserToken`,\n f.maybe_parent_folder_token as `maybe_parent_folder_token: FolderToken`,\n f.maybe_last_media_file_token_1 as `maybe_last_media_file_token_1: MediaFileToken`,\n f.maybe_last_media_file_token_2 as `maybe_last_media_file_token_2: MediaFileToken`,\n f.maybe_last_media_file_token_3 as `maybe_last_media_file_token_3: MediaFileToken`,\n f.maybe_last_media_file_token_4 as `maybe_last_media_file_token_4: MediaFileToken`,\n f.maybe_cover_image_custom_media_token as `maybe_cover_image_custom_media_token: MediaFileToken`,\n f.maybe_color_code,\n f.has_star as `has_star: bool`,\n f.created_at,\n f.updated_at,\n (\n f.maybe_parent_folder_token IS NOT NULL\n AND (p.token IS NULL OR p.maybe_deleted_at IS NOT NULL)\n ) as `is_orphaned: bool`\nFROM folders f\nLEFT JOIN folders p\n ON p.token = f.maybe_parent_folder_token\nWHERE f.owner_user_token = ?\n AND f.maybe_deleted_at IS NULL\nORDER BY f.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id: u64",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "token: FolderToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "token"
}
}
},
{
"ordinal": 2,
"name": "name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "name"
}
}
},
{
"ordinal": 3,
"name": "owner_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "owner_user_token"
}
}
},
{
"ordinal": 4,
"name": "maybe_parent_folder_token: FolderToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_parent_folder_token"
}
}
},
{
"ordinal": 5,
"name": "maybe_last_media_file_token_1: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_1"
}
}
},
{
"ordinal": 6,
"name": "maybe_last_media_file_token_2: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_2"
}
}
},
{
"ordinal": 7,
"name": "maybe_last_media_file_token_3: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_3"
}
}
},
{
"ordinal": 8,
"name": "maybe_last_media_file_token_4: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_4"
}
}
},
{
"ordinal": 9,
"name": "maybe_cover_image_custom_media_token: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_cover_image_custom_media_token"
}
}
},
{
"ordinal": 10,
"name": "maybe_color_code",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_color_code"
}
}
},
{
"ordinal": 11,
"name": "has_star: bool",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "has_star"
}
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "created_at"
}
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "updated_at"
}
}
},
{
"ordinal": 14,
"name": "is_orphaned: bool",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 1
},
"origin": "Expression"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false
]
},
"hash": "05a880a2ece0236f57fe1c40100cba0c0cdcad2ebee0fecb88f9043ac7b82d8c"
}
@@ -0,0 +1,168 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": "MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
},
"hash": "05c3ebf54cd8a5374d6f4bbe21b3c6027ce6314917af8acd0ed136d375d53342"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "id"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 144
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "uuid_idempotency_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "on_success_result_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "creator_user_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "creator_set_visibility"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "title"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "tts_model_type"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "download_url"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "status"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 3
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "attempt_count"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "failure_reason"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "created_at"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "updated_at"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "retry_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "public_bucket_hash"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "creator_set_visibility"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "file_size_bytes"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "duration_millis"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "user_deleted_at"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_results",
"name": "mod_deleted_at"
}
}
}
],
@@ -0,0 +1,289 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_is_banned",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 4,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 6,
"name": "creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "title",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "description_markdown",
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 9,
"name": "description_rendered_html",
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 10,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 11,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 12,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 13,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 14,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 15,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 16,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": "MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 17,
"name": "is_locked_from_use",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 18,
"name": "is_locked_from_user_modification",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 19,
"name": "creator_ip_address_creation",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 20,
"name": "creator_ip_address_last_update",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 21,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 22,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 23,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 24,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"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
]
},
"hash": "089986414149d2d189f4262f8aa7488d35f6a162a4e56f06c1b897092d37ea20"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.prompt_context_items",
"name": "media_token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.prompt_context_items",
"name": "context_semantic_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "public_bucket_directory_hash"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_extension"
}
}
}
],
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -1,264 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n f.id as `id: u64`,\n f.token as `token: FolderToken`,\n f.name,\n f.owner_user_token as `owner_user_token: UserToken`,\n f.maybe_parent_folder_token as `maybe_parent_folder_token: FolderToken`,\n f.maybe_last_media_file_token_1 as `maybe_last_media_file_token_1: MediaFileToken`,\n f.maybe_last_media_file_token_2 as `maybe_last_media_file_token_2: MediaFileToken`,\n f.maybe_last_media_file_token_3 as `maybe_last_media_file_token_3: MediaFileToken`,\n f.maybe_last_media_file_token_4 as `maybe_last_media_file_token_4: MediaFileToken`,\n f.maybe_cover_image_custom_media_token as `maybe_cover_image_custom_media_token: MediaFileToken`,\n f.maybe_color_code,\n f.has_star as `has_star: bool`,\n f.created_at,\n f.updated_at,\n (\n f.maybe_parent_folder_token IS NOT NULL\n AND (p.token IS NULL OR p.maybe_deleted_at IS NOT NULL)\n ) as `is_orphaned: bool`\nFROM folders f\nLEFT JOIN folders p\n ON p.token = f.maybe_parent_folder_token\nWHERE f.token = ?\n AND f.owner_user_token = ?\n AND f.maybe_deleted_at IS NULL\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id: u64",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "token: FolderToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "token"
}
}
},
{
"ordinal": 2,
"name": "name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "name"
}
}
},
{
"ordinal": 3,
"name": "owner_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "owner_user_token"
}
}
},
{
"ordinal": 4,
"name": "maybe_parent_folder_token: FolderToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_parent_folder_token"
}
}
},
{
"ordinal": 5,
"name": "maybe_last_media_file_token_1: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_1"
}
}
},
{
"ordinal": 6,
"name": "maybe_last_media_file_token_2: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_2"
}
}
},
{
"ordinal": 7,
"name": "maybe_last_media_file_token_3: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_3"
}
}
},
{
"ordinal": 8,
"name": "maybe_last_media_file_token_4: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_4"
}
}
},
{
"ordinal": 9,
"name": "maybe_cover_image_custom_media_token: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_cover_image_custom_media_token"
}
}
},
{
"ordinal": 10,
"name": "maybe_color_code",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_color_code"
}
}
},
{
"ordinal": 11,
"name": "has_star: bool",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "has_star"
}
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "created_at"
}
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "updated_at"
}
}
},
{
"ordinal": 14,
"name": "is_orphaned: bool",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 1
},
"origin": "Expression"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false
]
},
"hash": "0c918aacf4ce34e1e03d2f9af49dd3138cadf59a28d0917726135ed5f34cba5e"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.zs_voice_dataset_samples",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.zs_voice_dataset_samples",
"name": "media_file_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "media_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "public_bucket_directory_hash"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_extension"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.zs_voice_dataset_samples",
"name": "maybe_creator_user_token"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.zs_voice_dataset_samples",
"name": "created_at"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.zs_voice_dataset_samples",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "id"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "status"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.badges",
"name": "slug"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.badges",
"name": "title"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.badges",
"name": "description"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.badges",
"name": "image_url"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_badges",
"name": "created_at"
}
}
}
],
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"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": "NOT_NULL",
"char_set": 63,
"max_size": 20
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
},
"hash": "1236640a30d0d5177e13c31b61b791874f7c70026003a58ba6e07e7af46c30c1"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "raw_inference_text"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "model_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "maybe_pretrained_vocoder_used"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "public_bucket_wav_audio_path"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "public_bucket_spectrogram_path"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "creator_set_visibility"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "generated_by_worker"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "is_debug_request"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "file_size_bytes"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "duration_millis"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "created_at"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "updated_at"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "creator_ip_address"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "user_deleted_at"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "mod_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_category_assignments",
"name": "model_token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_category_assignments",
"name": "category_token"
}
}
}
],
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO user_email_changes\nSET\n user_token = ?,\n old_email = ?,\n new_email = ?,\n ip_address = ?,\n maybe_changed_by_user_token = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 5
},
"nullable": []
},
"hash": "1359fb54af12d78251fe435b063771984ee00d74a71b5d29e9df267991f38522"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.tts_result_synthetic_ids",
"name": "next_id"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "status"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 3
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "attempt_count"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "on_success_downloaded_entity_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "on_success_downloaded_entity_type"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "created_at"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_download_jobs",
"name": "updated_at"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "17c8d210d93ee9c0d8e8422eed605c9150f19f9bf72affcf111b15a67a5b9e70"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nUPDATE folders\nSET maybe_cover_image_custom_media_token = ?\nWHERE token = ?\n AND owner_user_token = ?\n AND maybe_deleted_at IS NULL\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
},
"hash": "197e4fb3822b095cbbf8127493dad91c9254b7c242b8921a8c2df9f5a0e77424"
}
@@ -1,167 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n jobs.maybe_external_third_party_id as `request_id`,\n jobs.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n jobs.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n jobs.creator_ip_address,\n jobs.creator_set_visibility as `creator_set_visibility: enums::common::visibility::Visibility`,\n jobs.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n jobs.maybe_wallet_ledger_entry_token as `maybe_wallet_ledger_entry_token: tokens::tokens::wallet_ledger_entries::WalletLedgerEntryToken`,\n jobs.platform_type as `maybe_platform_type: enums::common::platform_type::PlatformType`\n\nFROM generic_inference_jobs as jobs\n\nWHERE jobs.maybe_external_third_party = ?\n AND jobs.status NOT IN ('complete_success', 'complete_failure')\n AND jobs.maybe_external_third_party_id IS NOT NULL\n\nLIMIT 25000\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "token"
}
}
},
{
"ordinal": 1,
"name": "request_id",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
"ordinal": 2,
"name": "maybe_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_token"
}
}
},
{
"ordinal": 3,
"name": "maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
"ordinal": 4,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
"ordinal": 5,
"name": "creator_set_visibility: enums::common::visibility::Visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_set_visibility"
}
}
},
{
"ordinal": 6,
"name": "maybe_prompt_token: tokens::tokens::prompts::PromptToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
"ordinal": 7,
"name": "maybe_wallet_ledger_entry_token: tokens::tokens::wallet_ledger_entries::WalletLedgerEntryToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_wallet_ledger_entry_token"
}
}
},
{
"ordinal": 8,
"name": "maybe_platform_type: enums::common::platform_type::PlatformType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
true,
true,
true,
false,
false,
true,
true,
true
]
},
"hash": "1a0b60602debe525529f50566fc545f1cb4b77005f423a10464652be7fbfa839"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "tts_model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "text_pipeline_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "use_default_mel_multiply_factor"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Double",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 22
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_custom_mel_multiply_factor"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_default_pretrained_vocoder"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_custom_vocoder_token"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "String",
"flags": "MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "private_bucket_hash"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_user_token"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "private_bucket_hash"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "created_at"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "updated_at"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_deleted_at"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "mod_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "user_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "created_at"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "updated_at"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_bookmarks",
"name": "deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_staff_recommended"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_public_use"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_author_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_author_editing_locked"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "created_at"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "updated_at"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "user_deleted_at"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "mod_deleted_at"
}
}
}
],
@@ -6,211 +6,97 @@
{
"name": "id",
"ordinal": 0,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "id"
}
}
"type_info": "Text"
},
{
"name": "task_status",
"ordinal": 1,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "task_status"
}
}
"type_info": "Text"
},
{
"name": "task_type",
"ordinal": 2,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "task_type"
}
}
"type_info": "Text"
},
{
"name": "model_type",
"ordinal": 3,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "model_type"
}
}
"type_info": "Text"
},
{
"name": "provider",
"ordinal": 4,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "provider"
}
}
"type_info": "Text"
},
{
"name": "provider_job_id",
"ordinal": 5,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "provider_job_id"
}
}
"type_info": "Text"
},
{
"name": "frontend_caller",
"ordinal": 6,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_caller"
}
}
"type_info": "Text"
},
{
"name": "frontend_subscriber_id",
"ordinal": 7,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_id"
}
}
"type_info": "Text"
},
{
"name": "frontend_subscriber_payload",
"ordinal": 8,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_payload"
}
}
"type_info": "Text"
},
{
"name": "on_complete_primary_media_file_token",
"ordinal": 9,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_complete_primary_media_file_token"
}
}
"type_info": "Text"
},
{
"name": "on_complete_primary_media_file_class",
"ordinal": 10,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_complete_primary_media_file_class"
}
}
"type_info": "Text"
},
{
"name": "on_complete_batch_token",
"ordinal": 11,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_complete_batch_token"
}
}
"type_info": "Text"
},
{
"name": "on_complete_primary_media_file_cdn_url",
"ordinal": 12,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_complete_primary_media_file_cdn_url"
}
}
"type_info": "Text"
},
{
"name": "on_complete_primary_media_file_thumbnail_url_template",
"ordinal": 13,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_complete_primary_media_file_thumbnail_url_template"
}
}
"type_info": "Text"
},
{
"name": "on_failure_type",
"ordinal": 14,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_failure_type"
}
}
"type_info": "Text"
},
{
"name": "on_failure_message",
"ordinal": 15,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "on_failure_message"
}
}
"type_info": "Text"
},
{
"name": "created_at: DateTime<Utc>",
"ordinal": 16,
"type_info": "Integer",
"origin": {
"Table": {
"table": "tasks",
"name": "created_at"
}
}
"type_info": "Int64"
},
{
"name": "updated_at: DateTime<Utc>",
"ordinal": 17,
"type_info": "Integer",
"origin": {
"Table": {
"table": "tasks",
"name": "updated_at"
}
}
"type_info": "Int64"
},
{
"name": "completed_at: DateTime<Utc>",
"ordinal": 18,
"type_info": "Integer",
"origin": {
"Table": {
"table": "tasks",
"name": "completed_at"
}
}
"type_info": "Int64"
}
],
"parameters": {
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nUPDATE folders\nSET has_star = ?\nWHERE token = ?\n AND owner_user_token = ?\n AND maybe_deleted_at IS NULL\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
},
"hash": "24716cfdb77eee365bd605a40cecb02b3a27a90725dbe96e3865545d14839ab8"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "25e7858d370ac1359deb42ef5292e85ccd1fe7debf3a1ba73303e5882523a4d0"
}
@@ -1,213 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n uir.id,\n uir.impersonator_user_token as `impersonator_user_token: UserToken`,\n impersonator.username as impersonator_username,\n impersonator.display_name as impersonator_display_name,\n uir.impersonated_user_token as `impersonated_user_token: UserToken`,\n impersonated.username as impersonated_username,\n impersonated.display_name as impersonated_display_name,\n uir.is_redeemed as `is_redeemed: bool`,\n (uir.expires_at < NOW()) as `is_expired: bool`,\n uir.expires_at,\n uir.created_at,\n uir.updated_at\nFROM user_impersonation_requests uir\nJOIN users impersonator ON impersonator.token = uir.impersonator_user_token\nJOIN users impersonated ON impersonated.token = uir.impersonated_user_token\nWHERE uir.impersonated_user_token = ?\n AND uir.id < ?\nORDER BY uir.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "impersonator_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonator_user_token"
}
}
},
{
"ordinal": 2,
"name": "impersonator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 3,
"name": "impersonator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 4,
"name": "impersonated_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonated_user_token"
}
}
},
{
"ordinal": 5,
"name": "impersonated_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 6,
"name": "impersonated_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 7,
"name": "is_redeemed: bool",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "is_redeemed"
}
}
},
{
"ordinal": 8,
"name": "is_expired: bool",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 1
},
"origin": "Expression"
},
{
"ordinal": 9,
"name": "expires_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "expires_at"
}
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "created_at"
}
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "updated_at"
}
}
}
],
"parameters": {
"Right": 3
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"hash": "27cebaa36f0ec873f86cdf8fa994d499db1a5cc84d2c6fceb3587145eb2f9bec"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.media_upload_synthetic_ids",
"name": "next_id"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "294c089b17fdd87d7e579c05a9d90e9bfa5b7465cafa9a95af08d58709212440"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "tts_model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "text_pipeline_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "text_preprocessing_algorithm"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_default_pretrained_vocoder"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "use_default_mel_multiply_factor"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Double",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 22
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_custom_mel_multiply_factor"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_user_token"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "description_markdown"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "description_rendered_html"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_language_tag"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_front_page_featured"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_twitch_featured"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_suggested_unique_bot_command"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_positive_count"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_negative_count"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_total_count"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_locked_from_use"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_locked_from_user_modification"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_migration_new_model_weights_token"
}
}
},
{
@@ -441,14 +279,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_custom_vocoder_token"
}
}
},
{
@@ -457,14 +289,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -473,14 +299,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -489,14 +309,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -505,14 +319,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -521,14 +329,8 @@
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -537,14 +339,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "created_at"
}
}
},
{
@@ -553,14 +349,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "updated_at"
}
}
},
{
@@ -569,14 +359,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_ip_address_creation"
}
}
},
{
@@ -585,14 +369,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_ip_address_last_update"
}
}
},
{
@@ -601,14 +379,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "mod_deleted_at"
}
}
},
{
@@ -617,14 +389,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_deleted_at"
}
}
}
],
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO generic_inference_jobs\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n job_type = ?,\n\n maybe_external_third_party = ?,\n maybe_external_third_party_id = ?,\n\n product_category = ?,\n inference_category = ?,\n\n maybe_model_type = NULL,\n maybe_model_token = NULL,\n\n maybe_input_source_token = NULL,\n maybe_input_source_token_type = NULL,\n\n maybe_download_url = NULL,\n maybe_cover_image_media_file_token = NULL,\n\n maybe_prompt_token = ?,\n\n maybe_raw_inference_text = NULL,\n\n maybe_inference_args = ?,\n\n maybe_creator_user_token = ?,\n maybe_creator_anonymous_visitor_token = ?,\n creator_ip_address = ?,\n creator_set_visibility = ?,\n\n priority_level = 0,\n is_keepalive_required = FALSE,\n max_duration_seconds = 0,\n\n is_debug_request = FALSE,\n maybe_routing_tag = NULL,\n\n frontend_failure_category = ?,\n failure_reason = ?,\n\n status = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 16
},
"nullable": []
},
"hash": "29916e73a1784ea0b70ef4f637520b05efccc31e01840f681e9b042f82eb8f7e"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "title"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_category"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_description_markdown"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_description_rendered_html"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_ietf_language_tag"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_ietf_primary_language_subtag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_ip_address"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_set_visibility"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_user_token"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_last_update_user_token"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "original_download_url"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "original_filename"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "file_size_bytes"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "file_checksum_sha2"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "public_bucket_hash"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_public_bucket_extension"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "public_bucket_directory_hash"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_extension"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "ratings_positive_count"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "ratings_negative_count"
}
}
},
{
@@ -441,14 +279,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "bookmark_count"
}
}
},
{
@@ -457,14 +289,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "cached_usage_count"
}
}
},
{
@@ -473,10 +299,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 30,
@@ -484,14 +309,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 11
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "version"
}
}
},
{
@@ -500,14 +319,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "created_at"
}
}
},
{
@@ -516,14 +329,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "updated_at"
}
}
},
{
@@ -532,14 +339,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "user_deleted_at"
}
}
},
{
@@ -548,14 +349,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "mod_deleted_at"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "2b04dd7db52ef3a97a6f420a22a4dbee7416ae58697438df69e87ffd47bbf350"
}
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
},
{
"ordinal": 1,
@@ -20,10 +19,9 @@
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username_is_not_customized"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_address"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"char_set": 63,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "password_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "password_version"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_feature_flags"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "wallet_namespace"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "owner_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "banked_credits"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "monthly_credits"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "token"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "id"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username_is_not_customized"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_address"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_confirmed"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_without_password"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "ip_address_creation"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_source"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_signup_method"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "created_at"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_referral_url"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_temporary"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "user_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "comment_markdown"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "comment_rendered_html"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "creator_ip_address"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "editor_ip_address"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "created_at"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "updated_at"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "edited_at"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "user_deleted_at"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "mod_deleted_at"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.comments",
"name": "object_owner_deleted_at"
}
}
}
],
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 2
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_namespace"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_subscription_id"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_address"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "33cd0c0b8eaaf494ef97232ac89775b8eb6a22d310824b7aa7db310dd4fd41b1"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "34642399c3e91960768cb659b6006db291574d9cd07a5bace3db573eff20c3fb"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "media_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "maybe_original_filename"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_file_size_bytes"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_duration_millis"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "creator_set_visibility"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "created_at"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "updated_at"
}
}
}
],
@@ -1,158 +0,0 @@
{
"db_name": "SQLite",
"query": "\n SELECT\n id,\n task_status,\n task_type,\n model_type,\n provider,\n provider_job_id,\n frontend_caller,\n queue_status_url,\n queue_response_url,\n prompt_token,\n frontend_subscriber_id,\n frontend_subscriber_payload\n FROM tasks\n WHERE\n provider = ?\n AND provider_job_id = ?\n ",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "id"
}
}
},
{
"name": "task_status",
"ordinal": 1,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "task_status"
}
}
},
{
"name": "task_type",
"ordinal": 2,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "task_type"
}
}
},
{
"name": "model_type",
"ordinal": 3,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "model_type"
}
}
},
{
"name": "provider",
"ordinal": 4,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "provider"
}
}
},
{
"name": "provider_job_id",
"ordinal": 5,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "provider_job_id"
}
}
},
{
"name": "frontend_caller",
"ordinal": 6,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_caller"
}
}
},
{
"name": "queue_status_url",
"ordinal": 7,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "queue_status_url"
}
}
},
{
"name": "queue_response_url",
"ordinal": 8,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "queue_response_url"
}
}
},
{
"name": "prompt_token",
"ordinal": 9,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "prompt_token"
}
}
},
{
"name": "frontend_subscriber_id",
"ordinal": 10,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_id"
}
}
},
{
"name": "frontend_subscriber_payload",
"ordinal": 11,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_payload"
}
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true,
true,
true,
true
]
},
"hash": "35677894f7b02f32a1bf6396fa6d10caba69bb0f3f03ee7ffbfa1437689d42df"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_staff_recommended"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_public_use"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_author_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_author_editing_locked"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "created_at"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "updated_at"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "user_deleted_at"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "mod_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "wallet_namespace"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "owner_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "banked_credits"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "monthly_credits"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 11
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "version"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "created_at"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.wallets",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "media_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "maybe_original_filename"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "public_bucket_directory_hash"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_file_size_bytes"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_duration_millis"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "maybe_extra_file_modification_info"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "creator_set_visibility"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "created_at"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "updated_at"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "369a7576edc128cf2b310648d6fc45a2191c1263d433fe6d1461d15dbf26690e"
}
@@ -1,213 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n uir.id,\n uir.impersonator_user_token as `impersonator_user_token: UserToken`,\n impersonator.username as impersonator_username,\n impersonator.display_name as impersonator_display_name,\n uir.impersonated_user_token as `impersonated_user_token: UserToken`,\n impersonated.username as impersonated_username,\n impersonated.display_name as impersonated_display_name,\n uir.is_redeemed as `is_redeemed: bool`,\n (uir.expires_at < NOW()) as `is_expired: bool`,\n uir.expires_at,\n uir.created_at,\n uir.updated_at\nFROM user_impersonation_requests uir\nJOIN users impersonator ON impersonator.token = uir.impersonator_user_token\nJOIN users impersonated ON impersonated.token = uir.impersonated_user_token\nWHERE uir.impersonated_user_token = ?\nORDER BY uir.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "impersonator_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonator_user_token"
}
}
},
{
"ordinal": 2,
"name": "impersonator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 3,
"name": "impersonator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 4,
"name": "impersonated_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonated_user_token"
}
}
},
{
"ordinal": 5,
"name": "impersonated_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 6,
"name": "impersonated_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 7,
"name": "is_redeemed: bool",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "is_redeemed"
}
}
},
{
"ordinal": 8,
"name": "is_expired: bool",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 1
},
"origin": "Expression"
},
{
"ordinal": 9,
"name": "expires_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "expires_at"
}
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "created_at"
}
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "updated_at"
}
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"hash": "381e13ab37a2f4ce39bd6db9d90202c301091376108f645a9bb5264a9cd113d7"
}
@@ -1,218 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n sal.id,\n sal.token as `token: StaffAuditLogToken`,\n sal.audit_action,\n sal.maybe_entity_type,\n sal.maybe_entity_token,\n target_user.username as maybe_target_username,\n target_user.display_name as maybe_target_display_name,\n sal.staff_user_token as `staff_user_token: UserToken`,\n staff_user.username as staff_username,\n staff_user.display_name as staff_display_name,\n sal.staff_ip_address,\n sal.created_at\nFROM staff_audit_logs sal\nLEFT JOIN users target_user ON target_user.token = sal.maybe_entity_token\nLEFT JOIN users staff_user ON staff_user.token = sal.staff_user_token\nORDER BY sal.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "token: StaffAuditLogToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "token"
}
}
},
{
"ordinal": 2,
"name": "audit_action",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "audit_action"
}
}
},
{
"ordinal": 3,
"name": "maybe_entity_type",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "maybe_entity_type"
}
}
},
{
"ordinal": 4,
"name": "maybe_entity_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "maybe_entity_token"
}
}
},
{
"ordinal": 5,
"name": "maybe_target_username",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 6,
"name": "maybe_target_display_name",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 7,
"name": "staff_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "staff_user_token"
}
}
},
{
"ordinal": 8,
"name": "staff_username",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 9,
"name": "staff_display_name",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 10,
"name": "staff_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "staff_ip_address"
}
}
},
{
"ordinal": 11,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "created_at"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
false,
true,
true,
true,
true,
true,
false,
false
]
},
"hash": "3846628765bd34ea2ce01e15a0db732121ce473c5c542d0e971ad29b2b421193"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "raw_inference_text"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "model_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "maybe_pretrained_vocoder_used"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "public_bucket_wav_audio_path"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "public_bucket_spectrogram_path"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "creator_set_visibility"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "generated_by_worker"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "is_debug_request"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "file_size_bytes"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "duration_millis"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "created_at"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "updated_at"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "creator_ip_address"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "user_deleted_at"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_results",
"name": "mod_deleted_at"
}
}
}
],
@@ -1,218 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n\n jobs.status as `status: enums::common::job_status_plus::JobStatusPlus`,\n\n jobs.maybe_external_third_party as `external_third_party: enums::by_table::generic_inference_jobs::inference_job_external_third_party::InferenceJobExternalThirdParty`,\n jobs.maybe_external_third_party_id as `external_third_party_id`,\n\n jobs.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n jobs.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n jobs.creator_ip_address,\n\n jobs.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n jobs.maybe_debug_log_event_token as `maybe_debug_log_event_token: tokens::tokens::non_unique::debug_logs_event_token::DebugLogEventToken`,\n\n jobs.platform_type as `maybe_platform_type: enums::common::platform_type::PlatformType`,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM generic_inference_jobs as jobs\n\nWHERE jobs.maybe_external_third_party = ?\nAND jobs.maybe_external_third_party_id = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "token"
}
}
},
{
"ordinal": 1,
"name": "status: enums::common::job_status_plus::JobStatusPlus",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"max_size": 76
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "status"
}
}
},
{
"ordinal": 2,
"name": "external_third_party: enums::by_table::generic_inference_jobs::inference_job_external_third_party::InferenceJobExternalThirdParty",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party"
}
}
},
{
"ordinal": 3,
"name": "external_third_party_id",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
"ordinal": 4,
"name": "maybe_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_token"
}
}
},
{
"ordinal": 5,
"name": "maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
"ordinal": 6,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
"ordinal": 7,
"name": "maybe_prompt_token: tokens::tokens::prompts::PromptToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
"ordinal": 8,
"name": "maybe_debug_log_event_token: tokens::tokens::non_unique::debug_logs_event_token::DebugLogEventToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_debug_log_event_token"
}
}
},
{
"ordinal": 9,
"name": "maybe_platform_type: enums::common::platform_type::PlatformType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "created_at"
}
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "updated_at"
}
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
true,
true,
true,
true,
false,
true,
true,
true,
false,
false
]
},
"hash": "38a1d7b676bb0987fc191bbc8bdeadf6174a19358dff40d9772b9d5824145bbc"
}
@@ -0,0 +1,68 @@
{
"db_name": "SQLite",
"query": "\n SELECT\n id,\n task_status,\n task_type,\n model_type,\n provider,\n provider_job_id,\n frontend_caller,\n frontend_subscriber_id,\n frontend_subscriber_payload\n FROM tasks\n WHERE\n provider = ?\n AND provider_job_id = ?\n ",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "task_status",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "task_type",
"ordinal": 2,
"type_info": "Text"
},
{
"name": "model_type",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "provider",
"ordinal": 4,
"type_info": "Text"
},
{
"name": "provider_job_id",
"ordinal": 5,
"type_info": "Text"
},
{
"name": "frontend_caller",
"ordinal": 6,
"type_info": "Text"
},
{
"name": "frontend_subscriber_id",
"ordinal": 7,
"type_info": "Text"
},
{
"name": "frontend_subscriber_payload",
"ordinal": 8,
"type_info": "Text"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true
]
},
"hash": "38ff2df237b16f077865711dd81261de1b5fa05a9787679ce9ccd4ac576b1069"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tags",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tags",
"name": "tag_value"
}
}
}
],
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
},
{
"ordinal": 1,
@@ -20,10 +19,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -1,218 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n\n jobs.status as `status: enums::common::job_status_plus::JobStatusPlus`,\n \n jobs.maybe_external_third_party as `external_third_party: enums::by_table::generic_inference_jobs::inference_job_external_third_party::InferenceJobExternalThirdParty`,\n jobs.maybe_external_third_party_id as `external_third_party_id`,\n\n jobs.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n jobs.maybe_creator_anonymous_visitor_token as `maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken`,\n jobs.creator_ip_address,\n \n jobs.maybe_prompt_token as `maybe_prompt_token: tokens::tokens::prompts::PromptToken`,\n jobs.maybe_debug_log_event_token as `maybe_debug_log_event_token: tokens::tokens::non_unique::debug_logs_event_token::DebugLogEventToken`,\n\n jobs.platform_type as `maybe_platform_type: enums::common::platform_type::PlatformType`,\n\n jobs.created_at,\n jobs.updated_at\n\nFROM generic_inference_jobs as jobs\n\nWHERE jobs.maybe_external_third_party = ?\nAND jobs.maybe_external_third_party_id = ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "token"
}
}
},
{
"ordinal": 1,
"name": "status: enums::common::job_status_plus::JobStatusPlus",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"max_size": 76
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "status"
}
}
},
{
"ordinal": 2,
"name": "external_third_party: enums::by_table::generic_inference_jobs::inference_job_external_third_party::InferenceJobExternalThirdParty",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party"
}
}
},
{
"ordinal": 3,
"name": "external_third_party_id",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
"ordinal": 4,
"name": "maybe_creator_user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_token"
}
}
},
{
"ordinal": 5,
"name": "maybe_creator_anonymous_visitor_token: tokens::tokens::anonymous_visitor_tracking::AnonymousVisitorTrackingToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
"ordinal": 6,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
"ordinal": 7,
"name": "maybe_prompt_token: tokens::tokens::prompts::PromptToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
"ordinal": 8,
"name": "maybe_debug_log_event_token: tokens::tokens::non_unique::debug_logs_event_token::DebugLogEventToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_debug_log_event_token"
}
}
},
{
"ordinal": 9,
"name": "maybe_platform_type: enums::common::platform_type::PlatformType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
},
{
"ordinal": 10,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "created_at"
}
}
},
{
"ordinal": 11,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "updated_at"
}
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
true,
true,
true,
true,
false,
true,
true,
true,
false,
false
]
},
"hash": "3a846909a725eb776b4a4637dc64dcaf1ed70ad8891f9d012c7f3cdcb16a613e"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO users\nSET\n token = ?,\n \n is_temporary = ?,\n \n username = ?,\n display_name = ?,\n\n username_is_generated = ?,\n username_is_not_customized = ?,\n\n email_address = ?,\n email_gravatar_hash = ?,\n\n email_confirmed = FALSE,\n email_confirmed_by_google = ?,\n email_is_synthetic = ?,\n \n was_eagerly_provisioned = ?,\n\n profile_markdown = ?,\n profile_rendered_html = ?,\n user_role_slug = ?,\n\n password_hash = ?,\n is_without_password = ?,\n\n maybe_feature_flags = ?,\n\n ip_address_creation = ?,\n ip_address_last_login = ?,\n ip_address_last_update = ?,\n\n maybe_source = ?,\n\n maybe_signup_method = ?,\n\n maybe_referral_url = ?,\n maybe_landing_url = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 24
},
"nullable": []
},
"hash": "3aacc0d270a9073ee5a38595cc32ab7793e0e8b9ce3ad81f554e7198fd0fd509"
}
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_address"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_confirmed"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_confirmed_by_google"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_is_synthetic"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_without_password"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username_is_not_customized"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_stripe_customer_id"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_loyalty_program_key"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "disable_gravatar"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "auto_play_audio_preference"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "auto_play_video_preference"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "preferred_tts_result_visibility"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "preferred_w2l_result_visibility"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "user_role_slug"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "can_access_studio"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "maybe_feature_flags"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_use_tts"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_use_w2l"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_own_tts_results"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_own_w2l_results"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_own_account"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_upload_tts_models"
}
}
},
{
@@ -441,14 +279,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_upload_w2l_templates"
}
}
},
{
@@ -457,14 +289,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_own_tts_models"
}
}
},
{
@@ -473,14 +299,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_own_w2l_templates"
}
}
},
{
@@ -489,14 +309,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_approve_w2l_templates"
}
}
},
{
@@ -505,14 +319,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_edit_other_users_profiles"
}
}
},
{
@@ -521,14 +329,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_edit_other_users_tts_models"
}
}
},
{
@@ -537,14 +339,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_edit_other_users_w2l_templates"
}
}
},
{
@@ -553,14 +349,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_other_users_tts_models"
}
}
},
{
@@ -569,14 +359,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_other_users_tts_results"
}
}
},
{
@@ -585,14 +369,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_other_users_w2l_templates"
}
}
},
{
@@ -601,14 +379,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_other_users_w2l_results"
}
}
},
{
@@ -617,14 +389,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_ban_users"
}
}
},
{
@@ -633,14 +399,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_roles",
"name": "can_delete_users"
}
}
}
],
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"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": []
},
"hash": "3d746dcb479005f1f4ae5e157a5ace7626eda4849d44c6c2d7079fd346eb4edc"
}
@@ -0,0 +1,168 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "template_type",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 2,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 4,
"name": "creator_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 5,
"name": "title",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 7,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "maybe_public_bucket_preview_image_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 10,
"name": "maybe_public_bucket_preview_video_object_name",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 11,
"name": "is_public_listing_approved",
"type_info": {
"type": "Tiny",
"flags": "MULTIPLE_KEY",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 12,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 13,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
false
]
},
"hash": "417dd070beeaf6ccd86852b7e99bf7fda5c5b15da4a3bcc066a0e2bb90ca7df1"
}
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "tts_model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_language_tag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_locked_from_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_front_page_featured"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_twitch_featured"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_suggested_unique_bot_command"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_positive_count"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_negative_count"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_total_count"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "created_at"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "tts_model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_language_tag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_locked_from_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_front_page_featured"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_twitch_featured"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_suggested_unique_bot_command"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_positive_count"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_negative_count"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_total_count"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "created_at"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_staff_recommended"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_public_use"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_author_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_author_editing_locked"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "created_at"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "updated_at"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "user_deleted_at"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "mod_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "description_markdown"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "description_rendered_html"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_staff_recommended"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_public_use"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_author_use"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_author_editing_locked"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "created_at"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "updated_at"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_ip_address_creation"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_ip_address_last_update"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "mod_deleted_at"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "user_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "media_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "maybe_original_filename"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_file_size_bytes"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "original_duration_millis"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "creator_set_visibility"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "created_at"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_uploads",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 60
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "tts_model_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_language_tag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_locked_from_use"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_front_page_featured"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "is_twitch_featured"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "maybe_suggested_unique_bot_command"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_positive_count"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_negative_count"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "user_ratings_total_count"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "created_at"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_models",
"name": "updated_at"
}
}
}
],
@@ -9,10 +9,9 @@
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "prompt_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_model_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_generation_provider"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_creator_user_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_positive_prompt"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_negative_prompt"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 96
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_generation_mode"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 96
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_aspect_ratio"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_resolution"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 3
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_batch_count"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_generate_audio"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_duration_seconds"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_other_args"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "creator_ip_address"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "created_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "user_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_namespace"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_product_slug"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_subscription_status"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_customer_id"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_product_id"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_subscription_id"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "user_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_namespace"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_product_slug"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_subscription_status"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_customer_id"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_product_id"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_subscription_id"
}
}
}
],
@@ -0,0 +1,69 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 1,
"name": "display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "creator_user_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "uploaded_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"char_set": 63,
"max_size": 21
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "4c7a92b6ac43e271096138f3594ca27b0ab6622b1e29a28f4a034c7732be9312"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "title"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_user_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights_extension_tts_details",
"name": "ietf_language_tag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.model_weights_extension_tts_details",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_set_visibility"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "created_at"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.api_tokens",
"name": "internal_token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.api_tokens",
"name": "api_token"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.api_tokens",
"name": "maybe_short_description"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.api_tokens",
"name": "created_at"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.api_tokens",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.tts_inference_jobs",
"name": "id"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.tts_inference_jobs",
"name": "status"
}
}
}
],
@@ -1,12 +0,0 @@
{
"db_name": "SQLite",
"query": "\n INSERT INTO tasks (\n id,\n task_status,\n task_type,\n model_type,\n provider,\n provider_job_id,\n queue_status_url,\n queue_response_url,\n prompt_token,\n frontend_caller,\n frontend_subscriber_id,\n frontend_subscriber_payload\n )\n VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 12
},
"nullable": []
},
"hash": "4fc9674ae39abaadc36054c200290ec95d0e2c7765336f0fa97805a2265f5c4c"
}
@@ -0,0 +1,300 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "maybe_tts_inference_result_token",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 2,
"name": "public_bucket_video_path",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "template_type",
"type_info": {
"type": "String",
"flags": "MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 5,
"name": "template_title",
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 6,
"name": "maybe_creator_user_token",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_creator_username",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 8,
"name": "maybe_creator_display_name",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 9,
"name": "maybe_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 10,
"name": "maybe_creator_is_banned",
"type_info": {
"type": "Tiny",
"flags": "",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 11,
"name": "maybe_template_creator_user_token",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 12,
"name": "maybe_template_creator_username",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 13,
"name": "maybe_template_creator_display_name",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 14,
"name": "maybe_template_creator_gravatar_hash",
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 15,
"name": "maybe_template_creator_is_banned",
"type_info": {
"type": "Tiny",
"flags": "",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 16,
"name": "creator_set_visibility",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 17,
"name": "file_size_bytes",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 18,
"name": "frame_width",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 19,
"name": "frame_height",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 20,
"name": "duration_millis",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 21,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 22,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 23,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 24,
"name": "user_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 25,
"name": "mod_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"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
]
},
"hash": "4ff1b1e0cc36f6c2f1a9b099f38751ae7f35666be939b4074bdfc98e031cd6ac"
}
@@ -1,218 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n ur.id as `id: u64`,\n ur.invited_user_token as `invited_user_token: UserToken`,\n invited.username as `invited_username: String`,\n invited.display_name as `invited_display_name: String`,\n invited.email_address as `invited_email_address: String`,\n ur.referrer_user_token as `referrer_user_token: UserToken`,\n referrer.username as `referrer_username: String`,\n referrer.display_name as `referrer_display_name: String`,\n ur.maybe_referral_code_token as `maybe_referral_code_token: UserReferralCodeToken`,\n ur.maybe_referral_url,\n ur.maybe_landing_url,\n ur.created_at\nFROM user_referrals ur\nJOIN users invited ON invited.token = ur.invited_user_token\nJOIN users referrer ON referrer.token = ur.referrer_user_token\nORDER BY ur.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id: u64",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "invited_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "invited_user_token"
}
}
},
{
"ordinal": 2,
"name": "invited_username: String",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 3,
"name": "invited_display_name: String",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 4,
"name": "invited_email_address: String",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_address"
}
}
},
{
"ordinal": 5,
"name": "referrer_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "referrer_user_token"
}
}
},
{
"ordinal": 6,
"name": "referrer_username: String",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 7,
"name": "referrer_display_name: String",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 8,
"name": "maybe_referral_code_token: UserReferralCodeToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_referral_code_token"
}
}
},
{
"ordinal": 9,
"name": "maybe_referral_url",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_referral_url"
}
}
},
{
"ordinal": 10,
"name": "maybe_landing_url",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_landing_url"
}
}
},
{
"ordinal": 11,
"name": "created_at",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "created_at"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false
]
},
"hash": "507a60f98f6da63620abc28a5a83772f29ffcfdfcc8d30bfa7c611d73073ca16"
}
@@ -1,48 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT DISTINCT\n subscription_namespace as `subscription_namespace: enums::common::payments_namespace::PaymentsNamespace`,\n maybe_stripe_customer_id as `stripe_customer_id!`\n\nFROM user_subscriptions\n\nWHERE\n user_token = ?\n AND maybe_stripe_customer_id IS NOT NULL\n AND deleted_at IS NULL\nORDER BY subscription_namespace ASC, maybe_stripe_customer_id ASC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "subscription_namespace: enums::common::payments_namespace::PaymentsNamespace",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "subscription_namespace"
}
}
},
{
"ordinal": 1,
"name": "stripe_customer_id!",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_subscriptions",
"name": "maybe_stripe_customer_id"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
true
]
},
"hash": "516db34b6a642a2f7d7107f186905a79ad694c3c86f3078efc77bcaae7f39f3d"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "vocoder_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "is_banned"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "title"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "description_markdown"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Blob",
"flags": "NOT_NULL | BLOB | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "description_rendered_html"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_staff_recommended"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_public_use"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_disabled_from_author_use"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "is_mod_author_editing_locked"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "created_at"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "updated_at"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_ip_address_creation"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "creator_ip_address_last_update"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "mod_deleted_at"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.vocoder_models",
"name": "user_deleted_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "title"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_type"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_category"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_description_markdown"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_description_rendered_html"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_ietf_language_tag"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_ietf_primary_language_subtag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_user_token"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_ip_address"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_set_visibility"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_last_update_user_token"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 2048
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "original_download_url"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "original_filename"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "file_size_bytes"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "file_checksum_sha2"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "public_bucket_hash"
}
}
},
{
@@ -329,14 +209,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -345,14 +219,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "maybe_public_bucket_extension"
}
}
},
{
@@ -361,14 +229,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "public_bucket_directory_hash"
}
}
},
{
@@ -377,14 +239,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_prefix"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_public_bucket_extension"
}
}
},
{
@@ -409,14 +259,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "ratings_positive_count"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "ratings_negative_count"
}
}
},
{
@@ -441,14 +279,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "bookmark_count"
}
}
},
{
@@ -457,14 +289,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "cached_usage_count"
}
}
},
{
@@ -473,10 +299,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 30,
@@ -484,14 +309,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 11
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "version"
}
}
},
{
@@ -500,14 +319,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "created_at"
}
}
},
{
@@ -516,14 +329,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "updated_at"
}
}
},
{
@@ -532,14 +339,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "user_deleted_at"
}
}
},
{
@@ -548,14 +349,8 @@
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "mod_deleted_at"
}
}
}
],
@@ -1,82 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n maybe_creator_user_token as `maybe_creator_user_token: UserToken`,\n media_class as `media_class: MediaFileClass`,\n media_type as `media_type: MediaFileType`,\n maybe_cover_image_media_file_token as `maybe_cover_image_media_file_token: MediaFileToken`\nFROM media_files\nWHERE token = ?\n AND user_deleted_at IS NULL\n AND mod_deleted_at IS NULL\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "maybe_creator_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_creator_user_token"
}
}
},
{
"ordinal": 1,
"name": "media_class: MediaFileClass",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "media_class"
}
}
},
{
"ordinal": 2,
"name": "media_type: MediaFileType",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "media_type"
}
}
},
{
"ordinal": 3,
"name": "maybe_cover_image_media_file_token: MediaFileToken",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_cover_image_media_file_token"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
true,
false,
false,
true
]
},
"hash": "5606a694c872d868ab3b35f4b3685f86f2b27ad16e741c8b1bf997b613f1b803"
}
@@ -1,235 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n uec.id as `id: u64`,\n uec.old_email,\n uec.new_email,\n uec.ip_address,\n uec.created_at,\n\n u_subject.token as `user_token: tokens::tokens::users::UserToken`,\n u_subject.username as user_username,\n u_subject.display_name as user_display_name,\n u_subject.email_gravatar_hash as user_gravatar_hash,\n\n u_changer.token as `maybe_changed_by_user_token?: tokens::tokens::users::UserToken`,\n u_changer.username as `maybe_changed_by_user_username?`,\n u_changer.display_name as `maybe_changed_by_user_display_name?`,\n u_changer.email_gravatar_hash as `maybe_changed_by_user_gravatar_hash?`\n\nFROM user_email_changes AS uec\nJOIN users AS u_subject\n ON uec.user_token = u_subject.token\nLEFT JOIN users AS u_changer\n ON uec.maybe_changed_by_user_token = u_changer.token\nWHERE uec.user_token = ?\n AND uec.id < ?\nORDER BY uec.id DESC\nLIMIT ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id: u64",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "old_email",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "old_email"
}
}
},
{
"ordinal": 2,
"name": "new_email",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "new_email"
}
}
},
{
"ordinal": 3,
"name": "ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "ip_address"
}
}
},
{
"ordinal": 4,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "created_at"
}
}
},
{
"ordinal": 5,
"name": "user_token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
"ordinal": 6,
"name": "user_username",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 7,
"name": "user_display_name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 8,
"name": "user_gravatar_hash",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
"ordinal": 9,
"name": "maybe_changed_by_user_token?: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
},
{
"ordinal": 10,
"name": "maybe_changed_by_user_username?",
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
"ordinal": 11,
"name": "maybe_changed_by_user_display_name?",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
"ordinal": 12,
"name": "maybe_changed_by_user_gravatar_hash?",
"type_info": {
"type": "String",
"flags": "BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
}
],
"parameters": {
"Right": 3
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
true
]
},
"hash": "5611678b6c168208ea4da9ef0e3071758c9bb8d89b54e2d3f0fc84bd0a6c915f"
}
@@ -1,82 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: UserReferralCodeToken`,\n owner_user_token as `owner_user_token: UserToken`,\n code,\n code_lowercase\nFROM user_referral_codes\nWHERE code_lowercase = ?\n AND deleted_at IS NULL\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: UserReferralCodeToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referral_codes",
"name": "token"
}
}
},
{
"ordinal": 1,
"name": "owner_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referral_codes",
"name": "owner_user_token"
}
}
},
{
"ordinal": 2,
"name": "code",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referral_codes",
"name": "code"
}
}
},
{
"ordinal": 3,
"name": "code_lowercase",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referral_codes",
"name": "code_lowercase"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
false
]
},
"hash": "56462cb07d49a001095ff118bfdf4fab4c30d1c7e6dca09a11e82f5956508e0b"
}
@@ -1,31 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: tokens::tokens::users::UserToken`\nFROM users\n WHERE username = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: tokens::tokens::users::UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "token"
}
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
},
"hash": "566a2d56735180e0f17484789d0debd03c68bda20354882e111476bab6132723"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "status"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 3
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "attempt_count"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "on_success_result_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "created_at"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.tts_model_upload_jobs",
"name": "updated_at"
}
}
}
],
@@ -0,0 +1,124 @@
{
"db_name": "MySQL",
"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": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "status",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 2,
"name": "attempt_count",
"type_info": {
"type": "Long",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 3,
"name": "maybe_result_token",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "maybe_public_bucket_video_path",
"type_info": {
"type": "VarString",
"flags": "BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 5,
"name": "maybe_w2l_template_token",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 6,
"name": "w2l_template_type",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 28
}
},
{
"ordinal": 7,
"name": "title",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 8,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 9,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false,
false,
true,
true,
true,
false,
false,
false,
false
]
},
"hash": "57928b1001a10a88ac5a07f43b1dd30f6dee6edbc0808be99fe1233f9e276c56"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_type"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_user_token"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "username"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 80
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "display_name"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.users",
"name": "email_gravatar_hash"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "title"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.model_weights_extension_voice_conversion_details",
"name": "ietf_language_tag"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 48
},
"origin": {
"Table": {
"table": "storyteller.model_weights_extension_voice_conversion_details",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "creator_set_visibility"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "created_at"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "updated_at"
}
}
}
],

Some files were not shown because too many files have changed in this diff Show More