Compare commits

..
Author SHA1 Message Date
Brandon Thomas fd8fe7f3db fix tests 2026-07-08 16:17:12 -04:00
Brandon Thomas 54b172bf6f test on api client 2026-07-08 16:08:44 -04:00
Brandon Thomas d7868c7da0 don't validate cost estimates 2026-07-08 15:44:56 -04:00
BFlat d538bc2a68 Add 3D Object & 3D World generation to the webapp (#1756)
Adds two new create pages for 3D generation, 3D Object (meshes) and 3D
World (gaussian splats), wired up to the new omni-gen mesh/splat
endpoints, plus the navigation, icons, and polish to go with them.

### New create pages
- 3D Object (`/create-object`): turn a prompt or image into a 3D model.
- 3D World (`/create-world`): turn a prompt or image into an explorable
world.
- Both mirror the existing Create Image/Video experience: prompt box
with model selector and per-model options in the bottom bar, and a live
feed of in-progress, completed, and failed generations.
- Options adapt to the selected model, e.g. output type, polygon type,
geometry/texture quality, face count, PBR and texture toggles,
multi-view reference angles (front/back/left/right), mesh-file input,
reference image/video, panorama, and prompt-only where supported.
- Multi-view and reference slots support the same Upload /
Pick-from-library flow (desktop hover and mobile) as the image rows.
- Completed cards show the model's cover screenshot; clicking one opens
it in the interactive 3D viewer.

### Navigation and discovery
- Sidebar reorganized into two groups: Create (Image, Video, Audio, 3D
Object, 3D World) and a new Studio group (Edit Image, Edit 3D, Edit
Video, BG Change, Moodboard).
- Added 3D Object and 3D World cards to the Home page.
- Added breadcrumbs for the new pages.
- Added a My Library button to the top bar, next to the credits and
task-queue chips.

### Model icons
- Restored the Hunyuan (Tencent) and World Labs provider icons.
- Added Tripo, Meshy, and Rodin (Hyper3D) icons.
- Applied to both the webapp and desktop app.

### Fixes and polish
- Fixed the 3D-model icons showing a generic placeholder (missing cyan
color plus creator mappings).
- Fixed the Upload / Pick-from-library hover popover being clipped
inside glass panels.
- Reference-image rows in the 3D pages now align their fields to the
right with the title on the left, matching the other create pages.
- Prevented 3D-model cover screenshots from showing up as their own "3D
object" cards across the 3D feeds, the Library page, and the gallery
picker.
2026-07-08 23:03:11 +07:00
BFlat bec8c7ede4 Add Create Audio pages (Suno + Seed Audio) with waveform gallery playback to desktop and webapp (#1748)
Frontend for the new omni audio API
(`/v1/omni_gen/{models,generate,cost}/audio`).

### New pages
- **Webapp**: `/create-audio` page (desktop layout + mobile
Generate/History tabs with settings drawers), added to sidebar.
- **Desktop**: new `AUDIO` tab ("Create Audio") with `PromptBoxAudio`,
registered in the app menu / TopBar. Audio enqueues over HTTP and polls
the jobs feed (Tauri task queue untouched).

### Models & promptbox
- Suno Music / Remix / Sounds / Sample + Seed Audio 1.0, fetched live
from `GET /v1/omni_gen/models/audio` with per-model capability gating.
- Always-visible **style prompt** row (Suno tags), instrumental /
keep-lyrics / loop toggles, BPM + musical key popover (Suno Sounds),
sample rate + speed/volume/pitch tuning popover (Seed Audio).
- Audio/image reference uploads with server rules mirrored client-side
(remix/sample require exactly 1 audio track; Seed Audio can't combine
audio + image refs).
- One request can return multiple job tokens (Suno multi-clip) - every
token becomes its own pending card.

### Audio playback in galleries
- New **`@storyteller/ui-audio-player`** lib (wavesurfer.js v7):
waveform + seek, play/pause, volume, duration - only one player plays at
a time.
- Lazy waveform decode (IntersectionObserver + peaks cache) and a
no-waveform `<audio>` fallback if CORS/decode fails.
- Audio cards/rows added once in the shared `ui-generation-list`, so
both hosts' grid + list views get them.
- Audio playback in both lightboxes (webapp lightbox + desktop
lightbox-modal); Library gets an **Audio** filter tab and includes audio
in "All"; downloads keep the right extension.

### Shared plumbing
- `OmniGenApi` gains audio types + `getAudioModels` / `generateAudio` /
`estimateAudioCost`.
- `useOmniGenAudioModels`, request builder, enqueue + cost hook shared
via `@storyteller/omni-gen` (used by both hosts).
- `useGenerationJobs` moved from the webapp into `ui-generation-list`
(with re-export shim) and taught the `audio_generation` category - the
desktop audio feed reuses it.
- Suno model names/descriptions/creator icon added to `model-list`.
2026-07-08 18:18:03 +07:00
Brandon Thomas 0866e63dd4 claude instruction 2026-07-08 02:26:52 -04:00
Brandon Thomas 78a5c4ff87 handle many more mesh models (#1755) 2026-07-08 01:02:37 -04:00
Brandon Thomas d53fad0072 user input errors on seedance (#1754) 2026-07-07 23:58:24 -04:00
Brandon Thomas 2e5e9443a3 fix models (#1753) 2026-07-07 20:29:24 -04:00
Brandon Thomas 5bda2a6cb4 mesh and splat omni endpoints (#1752) 2026-07-07 19:25:49 -04:00
Brandon Thomas 9cf1b8e066 Add omni audio! router, web, etc. - seed audio, suno, etc. (#1747) 2026-07-07 03:32:16 -04:00
Brandon Thomas aebc6ab777 seed audio client / (fal) (#1745) 2026-07-07 02:27:50 -04:00
Brandon Thomas d3c89face5 suno client (#1744) 2026-07-07 02:02:58 -04:00
Brandon Thomas 692e0ecf75 4k veo (#1743) 2026-07-07 01:27:53 -04:00
Brandon Thomas 94e1aef78d artcraft_router: Vidu and Veo models (#1742) 2026-07-06 23:51:08 -04:00
Brandon Thomas 9a4bb3b490 reduce num queries from 3 -> 1 (#1741) 2026-07-06 20:07:57 -04:00
Brandon Thomas 299d9b8d23 fix redis tx over database tx pooling issues (#1740) 2026-07-06 19:23:59 -04:00
Brandon Thomas 89eff46c6f database perf (#1739) 2026-07-06 16:53:11 -04:00
Brandon Thomas cec3b50ae4 characters API support (#1738) 2026-07-06 16:12:00 -04:00
BFlat 3040aaa0d1 Default og:image is now the ArtCraft logo banner (#1737) 2026-07-06 19:56:53 +07:00
BFlat f47e8b9b14 Default og:image is now the ArtCraft logo banner (#1736) 2026-07-06 19:52:50 +07:00
BFlat 83115e7ef9 Prompt character counters on web, seedance CJK limit waiver, and model creator mapping (#1735)
## Changes

- **Prompt character counters on web**: the website and webapp
promptboxes (image + video) now show a `123 / 2000` counter driven by
the API's `text_prompt_max_length`, matching the desktop app. It turns
red when over the limit and generation is blocked with a toast; typing
is never clamped. The webapp's fullscreen prompt editor shows the
counter too.
- **Seedance CJK waiver**: seedance video models normally use the API
limit, but the limit is waived (shows `∞`) while the prompt contains
Chinese characters. Applies on desktop and web via a shared
`effectivePromptMaxLength` helper.
- **API type parity**: added the new `model_creator` field to the web
`OmniGenImageModelInfo` / `OmniGenVideoModelInfo` types (desktop types
were already up to date).
- **Cleanup**: deleted the manual model-to-creator map
(`MODEL_TYPE_TO_CREATOR`, ~150 lines) now that creator info comes from
the API; lightbox model icons use the shared
`getCreatorIconPathForModelId` lookup like every other surface.
2026-07-06 19:42:56 +07:00
Brandon Thomas 4fbe9f54e0 more cleanup (#1734) 2026-07-04 11:53:00 -04:00
Brandon Thomas e850022fe8 further cleanup (#1733) 2026-07-04 11:43:49 -04:00
Brandon Thomas 1a528bba45 remove deprecated endpoints (#1732) 2026-07-04 10:15:59 -04:00
Brandon Thomas b625d5ff79 http header fields on alerts (#1731) 2026-07-03 20:59:52 -04:00
Brandon Thomas d8fd0bfe64 fix request logging (#1730) 2026-07-03 16:07:00 -04:00
Brandon Thomas 3cc02ae7bf admin dashboard spend (#1729) 2026-07-03 04:52:28 -04:00
Brandon Thomas 2c943b61ab improve media files user list query performance (#1728) 2026-07-03 04:10:13 -04:00
Brandon Thomas d92e6fc75c add index to media_files to aid lookups (#1727) 2026-07-03 03:55:53 -04:00
Brandon Thomas c0ca274168 cleanup dead handlers (#1726) 2026-07-03 03:08:59 -04:00
Brandon Thomas 27cc125089 trace id logging (#1725) 2026-07-03 02:28:22 -04:00
Brandon Thomas 4ce3f240c7 debug logs (#1724) 2026-07-02 22:09:38 -04:00
Brandon Thomas 3a2e3b30ec debug logs #2 (#1723) 2026-07-02 19:36:48 -04:00
Brandon Thomas 82c0a7a4d9 debug logs: new field, new queries, new APIs, new dashbord UX (#1722) 2026-07-02 16:43:00 -04:00
Brandon Thomas cbd3710f4f seedance text prompt max length (#1721) 2026-07-02 11:26:02 -04:00
BFlat 044c6d8a88 Model list cleanup: shared omni-gen hooks, dead code removal (#1719)
### New shared lib: `@storyteller/omni-gen`
- The `omni-gen-hooks.ts` file was copy-pasted between `artcraft-webapp`
and
`artcraft-website` and had drifted (website copy was missing outage
toasts,
carried a stale hardcoded display-name map, and had weaker icon
resolution).
- Extracted the newer (webapp) version into a new lib
`frontend/libs/omni-gen`
  (generated via `nx g @nx/react:library`): singleton session cache,
`useOmniGenImageModels()` / `useOmniGenVideoModels()`, outage message
constants.
- App-local toasts are injected via `setOmniGenErrorNotifier()`, called
once in
each app's `main.tsx`, since the hooks are singleton-cache based and
each app
  has its own toast component.

### Consolidated model metadata into `@storyteller/model-list`
- `getModelDescription()` / `getModelInfo()` (tagline + info-blurb
fallbacks)
  moved to `ModelDescriptions.ts`; API values still always win.
- `getModelDisplayName()` gained an optional `fullName` param (API name
wins);
  the app-local wrapper is gone.
- Both apps' local `getModelCreatorIconPath()` replaced with the
existing,
stronger `getCreatorIconPathForModelId()` (checks `ALL_MODELS_LIST`
first,
then prefix match). The loader's duplicate `CREATOR_BY_PREFIX` map now
reuses
  the same shared `MODEL_ID_PREFIX_CREATORS` table.

### Dead code removed
- `modelReconciliation.ts`: deprecated `reconcile*()` helpers (never
called) and
the empty, retired `BACKEND_TO_TAURI_*` alias maps.
`buildModelsFromListing()`
dropped its alias-map indirection accordingly (backend ids == tauriIds
since
the 2026-07 id migration). `modelCreatorFromBackend()` moved inline into
the
  loader, its only consumer.
- Six unused static `*_PAGE_MODEL_LIST` constants in
`model-selectors-for-pages.tsx`
(superseded by the `use*PageModelList` hooks in #1710). The two
`IMAGE_TO_3D_*`
  constants stay: 3D models are not served by the omni backend.
- Untracked the accidentally committed
`apps/artcraft/tsconfig.tsbuildinfo` and
  gitignored `*.tsbuildinfo`.

### Website-visible improvements (from adopting the newer hooks)
- Model outage toasts now appear on the website (previously
webapp-only).
- Current display names from the canonical map (previously-unmapped ids
like
  `gpt_image_2` and Midjourney models rendered as raw ids).
- Model taglines/descriptions now render in the website model picker.
- Midjourney and SwitchX creator icons now resolve.
2026-07-02 15:06:15 +07:00
Brandon Thomas 353c49c55f bump artcraft to 0.36 (#1718) 2026-07-02 03:45:07 -04:00
Brandon Thomas 98ea5cdb62 shink assets that are way too large (#1717) 2026-07-02 03:42:41 -04:00
Brandon Thomas 8fdc5100af vidu (#1716) 2026-07-02 03:12:15 -04:00
Brandon Thomas b782cb0c67 veo (#1715) 2026-07-02 02:18:16 -04:00
Brandon Thomas f01e81b66a artcraft 0.35 (#1714) 2026-07-02 02:02:16 -04:00
Brandon Thomas 3c0d1415e5 update pathing 2026-07-02 01:30:07 -04:00
Brandon Thomas 5e4b7f271d artcraft 0.34 (#1713) 2026-07-02 01:16:31 -04:00
Brandon Thomas 2371dfd49e move assets out of build to decrease binary size (#1712) 2026-07-02 01:15:30 -04:00
Brandon Thomas 2f20e7b3a3 fix midjourney (#1711) 2026-07-02 00:06:27 -04:00
Brandon Thomas 9de8fb8979 tauri frontend - read from omni api (#1710) 2026-07-01 23:20:11 -04:00
Brandon Thomas a61fcd50ed tauri omni client (#1709) 2026-07-01 16:31:23 -04:00
Brandon Thomas c16db8793c dashboard - change icon; group sidebar (#1708) 2026-06-30 11:05:18 -04:00
Brandon Thomas b3311d1574 payment informatics 4 (#1707) 2026-06-30 10:40:28 -04:00
Brandon Thomas 35add74498 payment informatics 3 (#1706) 2026-06-30 08:19:52 -04:00
Brandon Thomas d99da56df0 payment informatics #2 (#1705) 2026-06-29 21:21:26 -04:00
Brandon Thomas 3e4f998599 payments informatics (part 1) (#1704) 2026-06-29 17:49:28 -04:00
Brandon Thomas 3bccac5b2e block usernames that look like tokens (#1703) 2026-06-27 19:47:56 -04:00
Brandon Thomas aa9e862ff2 grok fixes (#1702) 2026-06-27 13:52:51 -04:00
BFlat db871126df Webapp/website (promptbox): full editing controls in fullscreen focus mode (#1701)
Add a footer to the fullscreen prompt modal (desktop lib + webapp) so
focus mode is a complete editing surface, not just the textarea:

- Model selector, always-on reference-image row, and a Done button
  (closes the modal) instead of Generate.
- Video: also surfaces the input-mode (keyframe/reference) picker and
  the @Characters button (seedance_2p0). Shared image-row / character /
  input-mode elements are reused inline and in the modal (DRY).
- Webapp: model selector + leftToolbar + image row in the footer.

Layout: editor area is flex-1/min-h-0/overflow-hidden with the image row
and footer shrink-0, so the editor takes only the leftover space and
scrolls internally — resizing the window shorter no longer overflows.
MentionTextarea gains a `style` prop so the modal can cap resize/height.
2026-06-26 23:16:35 +07:00
BFlat aaff33955e Webapp/website: Promptbox fullscreen "focus mode" + 3D & tooltip fixes (#1700)
### Fullscreen focus mode (desktop + webapp)
- Added a top-right expand icon on every prompt editor that opens a
"Prompt" focus-mode overlay (blurred backdrop, `max-w-4xl` centered
card) for more prompting space.
- Same editor state — overlay binds to the same value + onChange, so
text/@-mentions persist. Auto-focuses with the caret at the end on open.
- Editor fills full height; @-mention dropdown no longer clipped; closes
on Esc / backdrop click.
- Reused `@storyteller/ui-modal`; shared `PromptFullscreenModal` +
button + `useFullscreenPrompt` hook across all 5 desktop promptboxes,
mirrored in the webapp's own PromptBox.

### 3D editor
- Model selector now renders inside the promptbox (was standalone on the
canvas).
- Pose button hides on deselect; pressing "Done" keeps it (flips back to
"Enter Pose Mode") while the character is still selected.
- Drag and drop into folders fix within gallery modal - doesn't close
immediately unless on 3D editor page.

### Tooltips & expand
- Fixed top-left menu tooltips getting stuck open after a tab change.
- Reworked image promptbox auto-grow/expand into a shared
`useAutoGrowEditorHeight` hook (no per-render style writes) with a
smooth height transition.
2026-06-26 21:54:29 +07:00
Tanish Manku ad5ae7968f Fix login modal: stop Reveal motion wrappers from stealing input focus (#1698)
Reveal/RevealGroup called `motion(as)` inside the render body. Unlike
the cached `motion.div` accessor, calling `motion()` as a function
returns a brand-new component type on every invocation. So each
re-render produced a different element type at that position, React
unmounted and remounted the whole subtree, and any focused <input>
inside (the login/signup/forgot-password forms) lost focus on every
keystroke — you could only type one character at a time.

Cache one motion component per element type via a module-level map so
the component reference stays stable across renders. React now
reconciles in place and focus is preserved.

Verified with a Playwright A/B test on the login form: before the fix
typing "test@example.com" left only "t" with focus on <body> (1 blur
mid-type); after the fix the full value is retained, focus stays on the
input, zero blurs.
2026-06-25 13:48:53 -07:00
Brandon Thomas fef83ad271 mini models in api gateway (#1697) 2026-06-25 15:33:51 -04:00
BFlatandClaude 864cfb5faf Fix image refs not attaching when selected from a folder in gallery modal (#1696)
handleUseSelected only searched groupedItems (root library), so picks
made
while browsing inside a folder — which live in folderGroupedItems —
resolved
to nothing and an empty array was passed to onUseSelected. Search both
sources, deduping by id, so folder selections attach correctly.

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-25 20:38:53 +07:00
Brandon Thomas 2aed062790 seedance mini client (#1695) 2026-06-25 07:45:25 -04:00
Brandon Thomas 4d5f8e9c21 router 4k (#1693) 2026-06-24 17:18:37 -04:00
Brandon Thomas 98f9504bdd video models list refactor (#1692) 2026-06-24 13:56:56 -04:00
Brandon Thomas 7ff72d2ecc seedance 4k (#1691) 2026-06-24 12:45:11 -04:00
bflatastic 10eb062b6f seedance 2.1 -> 2.5 text + uncomment sidebar edit page 2026-06-24 22:52:32 +07:00
Brandon Thomas 3b225a7c6d omni api: status endpoint, api docs, etc (#1690) 2026-06-24 00:24:26 -04:00
Tanish MankuandBFlat 61a0880c80 Moodboard: Extensive feature support (#1661)
Co-authored-by: BFlat <bombayapirat@gmail.com>
2026-06-23 20:15:52 -07:00
Tanish Manku c5c68d301a Webapp: Premium motion pass across app (#1662)
Motion foundation + expressive entrance/interaction polish for the
webapp, following a "balanced" direction (restrained chrome, expressive
canvas).

Foundation
- Motion tokens: --ease-*/--dur-* CSS vars (styles.css) mirrored as JS
constants/presets in lib/motion.ts; prefers-reduced-motion respected.
- Shared Reveal/RevealGroup primitive (components/motion) — fade-up +
stagger.

Chrome & navigation
- Global route fade (components/motion/page-transition) keyed by
section.
- Sidebar active-indicator slide via framer layoutId + icon hover.

Pages
- Home: hero/eyebrow reveal, staggered launcher cards, spring lift/press
hover, double-bezel cards, nested arrow chip.
- Auth: AuthHeader staggers in (login+signup); form blocks cascade
after.
- Pricing: wire the orphaned data-reveal hero through the real Reveal.
- Library: sliding active indicator on tab/filter switchers (layoutId),
shimmer-sweep loading skeleton.

Pagescene entrance animations (user-drop only)
- EntranceAnimator: meshes get a transform-based pop/rise/fall drop with
a rubbery squash overshoot; splats get a per-gaussian radial settle
(Spark dyno) with center-out fade + height drop. Dev-only speed slider.

Gallery + asset drag-under UX
- On drag-start the gallery/asset modal becomes pointer-transparent so
the drag passes under onto the canvas; steps back to translucent (reopen
on) or eases fully out (reopen off), all interpolated. Shared DragGhost
(lift/tilt/follow) feeds both DnD systems. Media fades to placeholders
so thumbnails don't block the canvas. Asset modal always reopens fully
visible.

PageDraw: entrance fade on add + workspace vignette.

Dev-only (local testing): drop setDevelopment() API host pin; add /__cdn
proxy + maybeProxyCdnUrl so CDN splat/GLB assets dodge CORS.
2026-06-23 20:14:06 -07:00
Brandon Thomas 81de7838d3 omni api url support (#1689) 2026-06-23 23:10:14 -04:00
Brandon Thomas 9653e9082e minor change to test build works 2026-06-23 19:40:13 -04:00
Brandon ThomasandClaude Opus 4.8 ee6c064f4f dashboard netlify build script (#1687)
The netlify_build.sh referenced by the Netlify build command was never
committed, so the build failed with "No such file or directory".

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 19:36:19 -04:00
Brandon Thomas 630b132ae7 modify netlify configs for dashboard 2026-06-23 19:16:06 -04:00
Brandon Thomas 5742e638ed attempt to re-add the dashboard (#1686) 2026-06-23 19:04:53 -04:00
Tanish Mankuandbflatastic dc33a99d75 pagedraw: replace hardcoded chrome colors with semantic tokens (#1651)
Implements the P0 color item from the PageDraw design review. Swap raw
hex/palette chrome colors for the semantic tokens shared by both lib
hosts (artcraft desktop + artcraft-webapp):

- ContextMenu: #1A1A1A/#333333/#ECECEC -> bg-ui-panel, white/10
hairlines, text-base-fg/90
- SideToolbar: zinc swatch + #404040/#303030 popovers -> ui-controls /
bg-ui-panel + white/10 borders
- SliderWithIndicator: #5F5F68 tooltip -> bg-ui-controls
- SplitPane: gray-500/600 -> white/20-30
- HistoryStack: text-gray-400 -> text-base-fg/50
- PageDraw + base-image-selector: blue-500/600 accents -> primary token
(so the editor accent matches the product's brand-primary)
- pagedraw.css pegboard: #1b1b1b -> var(--st-canvas, #1b1b1b)

Only tokens defined in both host themes are used. Konva canvas-paint
colors (node strokes, brush defaults, selection fills) are intentionally
left as literals — they're canvas content, not CSS chrome. Oversized
modules deferred per scope.

---------

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-06-23 15:15:28 -07:00
Brandon Thomas f6c5ea94eb fix staff logs null column (#1685) 2026-06-23 18:15:15 -04:00
Brandon Thomas 123fe83a3d better logging (#1684) 2026-06-23 17:21:33 -04:00
Brandon Thomas 654f9164d3 typo 2026-06-23 16:57:27 -04:00
Brandon Thomas 539824564b better job logging per poll iter (#1683) 2026-06-23 16:31:20 -04:00
Brandon Thomas fef420129d fix seedance client again - nullable width/height (#1682) 2026-06-23 16:13:54 -04:00
BFlat 39dd4dee9a revert dashboard merge (#1681) 2026-06-23 23:31:29 +07:00
bflatastic 02ac2319a1 temporarily commented out dashboard in tsconfig 2026-06-23 21:14:59 +07:00
bflatastic 6af1493c1c build fix react version nx 2026-06-23 21:05:49 +07:00
bflatastic 7c7e050d02 revert package json/lock file 2026-06-23 20:51:19 +07:00
Brandon Thomas fb93d297d3 development ports (#1680) 2026-06-23 09:22:25 -04:00
BFlat 38d0642904 Dashboard: ported over dashboard to monorepo (#1679) 2026-06-23 20:18:49 +07:00
bflatastic 2f9ffd4575 webapp: hide edit image for now 2026-06-23 18:03:48 +07:00
Brandon Thomas e8b19148fa seedance2pro better polling (#1678) 2026-06-22 21:01:08 -04:00
BFlat 31e912c4be Webapp: omni gen added bitrate field (#1677)
Add bitrate selector to video create page

- Add bitrate / bitrate_options / bitrate_default to OmniGenApi TS types
- Add bitrate to video UI store (sticky + persisted)
- Send bitrate in generate and cost-estimate requests
- Render Bitrate popover (desktop) and drawer section (mobile), shown
  only when the model returns bitrate_options
2026-06-22 21:56:34 +07:00
Brandon Thomas ceb9d402cf alter prompts add bitrate (#1676) 2026-06-22 10:18:43 -04:00
Brandon Thomas ac2e728000 seedance bitrate (#1675) 2026-06-22 08:24:29 -04:00
BFlat ef255f4ee6 Website: seedance 2.5 page (#1674) 2026-06-22 13:09:09 +07:00
Brandon Thomas 0c11a95669 resolution measure (#1673) 2026-06-20 10:13:30 -04:00
Brandon Thomas 9191fe337a handler filename (#1672) 2026-06-20 09:09:49 -04:00
Brandon Thomas eb3b733852 seedance cors (#1671) 2026-06-20 00:00:18 -04:00
Brandon Thomas 7d8d9462d1 rename legacy bucket client (#1670) 2026-06-19 23:52:30 -04:00
Brandon Thomas 660cf9f0ac bucket client (#1669) 2026-06-19 23:35:22 -04:00
Brandon Thomas bf373b1d5c netlify configs 2026-06-19 21:27:36 -04:00
Brandon Thomas 914c2532ec uploaded videos - tables, endpoints, frontend (#1668) 2026-06-19 21:17:45 -04:00
Brandon Thomas c7341d8f63 video info website (#1667) 2026-06-19 13:42:34 -04:00
Brandon Thomas 92e99cfcb6 video info handler (#1666) 2026-06-19 10:44:22 -04:00
Brandon Thomas 754cdb8a6c parse video info (#1665) 2026-06-19 10:24:01 -04:00
Brandon Thomas 7b9db101fe fix float/int credits parsing (#1664) 2026-06-18 19:37:13 -04:00
BFlat e94987e5a4 Restyle manifesto "control" emphasis as a tilted marker highlight
Swap the underline for a shared MarkerHighlight SVG stroke behind the word. Desktop reveal wipes left-to-right via clip-path instead of scaleX so the stroke is uncovered, not stretched.
2026-06-18 23:05:09 +07:00
BFlat 47d83be3fb Landing page polish: manifesto, feature deck, model marquee, communit… (#1663)
…y CTA

- Manifesto: drop "3D" and animate a blue underline on "control"
- Feature cards: scroll-driven stacking deck (scale back + fade once
covered)
- Use Every Model: fill chips from canonical model list with correct
brand icons
- Use Every Model: alternating-direction marquees, highlight on hover
- Stop renting: italicize "renting"; make the good/bad comparison read
clearly
- Community CTA: "Join our community" banner restyled to fit site + not
steal focus from final CTA
2026-06-18 11:25:24 +07:00
bflatastic fa4b57980c Webapp: rounded corner ui updates for library page 2026-06-17 22:15:57 +07:00
Brandon Thomas 87d060e68c fixes for frontend build (#1660) 2026-06-16 03:03:38 -04:00
Brandon Thomas fc7651071c more frontend build fixes (#1659) 2026-06-16 02:53:06 -04:00
Brandon Thomas 7a0bfa35e6 fixes for frontend build failures (#1658) 2026-06-16 02:41:36 -04:00
Brandon Thomas 0b4e288a3e refactor another module location 2026-06-16 01:53:13 -04:00
Brandon Thomas a0b6047a78 refactor module location 2026-06-16 01:42:01 -04:00
Brandon Thomas ebe1287182 misc cleanup, update claude docs (#1657) 2026-06-16 01:34:50 -04:00
Brandon Thomas de538ba94c package import 2026-06-16 00:37:23 -04:00
Brandon Thomas 29a127aac0 jsonify actix handlers (#1656) 2026-06-16 00:30:06 -04:00
Brandon Thomas 126f874c90 api key feature flag (#1655) 2026-06-15 23:25:58 -04:00
Brandon Thomas 65e72f8c24 omni api fixes (#1654) 2026-06-15 23:06:05 -04:00
Brandon Thomas fafb485a60 omni upload APIs (#1653) 2026-06-15 22:37:11 -04:00
Brandon Thomas 1e20f2bfff omni api image and video (#1652) 2026-06-15 22:08:31 -04:00
BFlat e30b4366ce Update SettingsModal.tsx to flip api feature flag 2026-06-16 09:06:38 +07:00
Tanish Manku d27d5cec75 PageDraw: Port and mount to web app (#1650) 2026-06-15 17:53:15 -07:00
Brandon Thomas 749124f834 api groundwork (#1648) 2026-06-15 20:11:36 -04:00
bflatastic 65b18b9b51 Webapp: API section styling updates 2026-06-16 00:10:04 +07:00
BFlat 6eb85010d6 Webapp: API keys section in settings modal (#1647)
- create, update, delete api keys
- feature flagged (api_key)
2026-06-15 22:38:21 +07:00
Brandon Thomas 855e169b44 codegen database 2026-06-15 11:10:11 -04:00
Brandon Thomas ea2f5106df api keys (#1646) 2026-06-15 11:09:31 -04:00
Brandon Thomas 0de867ad13 upgrade tauri 2.8 -> 2.11 (#1645) 2026-06-14 22:20:29 -04:00
Brandon Thomas a1cb1b2629 enhance database connection pooling (#1644) 2026-06-14 18:09:42 -04:00
BFlat 8da68b009c Desktop create pages redesign: shared generation feed, embedded model selector, gallery folders sidebar (#1635)
## Summary

Reworks the desktop (Tauri) app's Create Image / Create Video pages to
match the webapp,
extracts the webapp's generation gallery into a shared library used by
both apps, embeds the
model selector into every prompt box, adds a folders sidebar + marquee
selection to the gallery
modal, restyles the login/pricing/credits modals to the webapp look, and
turns the Apps page
into the default landing tab.

### Shared generation-list lib

- Extracted the webapp's generation feed into
`@storyteller/ui-generation-list`: list + masonry
grid views, pending/failed/completed rows and cards, thumbnail handling,
gallery/prompt data
hooks, and the shared grid/list view store + toggle. Host-specific
actions (recreate,
make-video, share, download, toasts) inject via render props — webapp
markup unchanged, its
  old files are now thin wrappers.

### Desktop create pages

- Prompt box fixed at the bottom, `max-w-5xl` like the webapp; pages
renamed to
  "Create Image" / "Create Video".
- Generation feed: in-progress/failed from the Tauri task queue, history
from the library API,
rendered as grid or list (toggle in the TopBar next to credits). Typed
Tauri completion events
  push finished media in instantly; the poll reconciles and dedupes.
- Row/card quick actions (recreate, make video, copy link, download)
backed by a shared
  `desktopMediaActions` module extracted from the TopBar gallery wiring.
- Hero + background act as a splash that fades when the feed loads;
bottom gradient behind the
prompt box. Batch generations show "Generating N images" on the single
pending chip.
- Video prompt box now expands vertically as far as the image prompt box
(viewport-relative).

### Embedded model selector

- `ClassyModelSelector` gained `variant="embedded"`: a compact pill that
opens the webapp-style
rich-list popover while keeping the desktop's provider selection.
Embedded on all five
prompt-input pages; floating selectors removed; legacy "10 sec." badges
dropped.

### Gallery modal

- Left sidebar lists the user's folders (drag-and-drop, right-click
management, new-folder
button) and shows on the Folders tab too, highlighting the active
folder's root branch.
- Marquee (drag-rectangle) selection in view mode, with edge
auto-scroll; starts only on blank
  background so it doesn't interfere with drag-to-folder/canvas.

### Restyled modals (desktop)

- Login/signup: webapp 2-column layout (form left, Vimeo showcase
right), no Google button
(Google auth isn't wired for Tauri), `artcraft-icon` logo, eye toggles.
The dismiss button is
removed so login is required; the post-auth Discord + Success onboarding
steps are kept, as is
  the existing Tauri auth flow.
- Pricing + credits: match the webapp visually (unified monochrome plan
cards with
Most Popular / Best Value highlight frames; `#161618` credit-pack cards
with Popular badge).
All billing stays on the existing Tauri `invoke` calls — no billing
logic changed.

### Apps page / navigation

- The Apps page is now the first tab and the default landing tab, with a
Home icon. Restyled to
the webapp home: "What will you craft today?" hero, Create / Edit
sections, gradient-hover
cards sized to their content, full-width scrollbar. The TopBar
quick-menu header reads
  "Create" instead of "Generate".

### Fixes

- Video Editor no longer crashes on the desktop app (`Tooltip must be
used within
TooltipProvider`): the editor shell now mounts its own Radix
`TooltipProvider`. The webapp got
one app-wide via `SidebarProvider`; the Tauri app had none, so panel
tooltips threw.

### Misc

- `getCreatorIconPathForModelId()` added to `@storyteller/model-list`
(model id → creator icon
  path, desktop/webapp aware).
2026-06-13 17:25:40 -04:00
Brandon Thomas e4bc031fbb modernize require_user_session_extended() (#1643) 2026-06-13 17:03:21 -04:00
Brandon Thomas d937a7f78f cleanup require_user_session (#1642) 2026-06-13 05:54:01 -04:00
Brandon Thomas fef96c3835 cleanup usage of require_moderator further (#1641) 2026-06-13 05:26:36 -04:00
Brandon Thomas b9e793098c cleanup session and require_moderator (#1640) 2026-06-13 04:52:35 -04:00
2638 changed files with 150480 additions and 41876 deletions
+12 -3
View File
@@ -19,9 +19,18 @@ Handlers in `storyteller_web` follow this structure:
### Session/Auth
- `require_user_session_using_connection()` reuses an open DB connection (preferred)
- `require_user_session()` acquires its own connection (deprecated)
- `require_moderator()` for admin-only endpoints
Helpers live in `storyteller_web` under `http_server/web_utils/user_session/`. Each takes a
generic `mysql_executor: E` (any `sqlx::Executor`), so whether it reuses a connection or acquires
its own depends on the **argument you pass**:
- `require_user_session(http_request, session_checker, mysql_executor)` — require a logged-in user.
- `require_user_session_extended(...)` — same, with extra session detail.
- `require_moderator(http_request, session_checker, mysql_executor)` — admin-only endpoints.
PREFER passing an already-open connection (`&mut *conn`) so the helper reuses it. Passing
`&server_state.mysql_pool` makes it acquire a fresh connection — avoid that when the handler
already holds one (the double-acquire adds pool pressure; this crate has had pool-timeout
incidents). There is no `*_using_connection` variant — the reuse/acquire choice is the argument.
### API Type Definitions
+5 -4
View File
@@ -7,10 +7,11 @@
- `#[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.
- SQLx: MySQL queries belong in the `mysql_queries` crate. Do NOT write `sqlx::query!` /
`sqlx::query()` in application/service crates (e.g. `storyteller-web`, which has zero direct
SQLx queries) — add or reuse a function in `mysql_queries` and call it. The compile-time
`query!` / `query_as!` macro conventions for that crate are documented in
`crates/schema/database/mysql_queries/CLAUDE.md`.
- 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)`
@@ -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"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.folders",
"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.folders",
"name": "token"
}
}
},
{
@@ -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.folders",
"name": "name"
}
}
},
{
@@ -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.folders",
"name": "owner_user_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_parent_folder_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_1"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_2"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_3"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_4"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_cover_image_custom_media_token"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_color_code"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "has_star"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "created_at"
}
}
},
{
@@ -217,14 +139,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.folders",
"name": "updated_at"
}
}
},
{
@@ -233,10 +149,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -0,0 +1,124 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: ApiKeyToken`,\n LEFT(api_key, 20) as `api_key_prefix!`,\n name,\n maybe_description,\n owner_user_token as `owner_user_token: UserToken`,\n ip_address_creation,\n ip_address_update,\n created_at,\n updated_at,\n maybe_deleted_at\nFROM api_keys\nWHERE owner_user_token = ?\nORDER BY id DESC\nLIMIT ? OFFSET ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: ApiKeyToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "api_key_prefix!",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "name",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 3,
"name": "maybe_description",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 2048
}
},
{
"ordinal": 4,
"name": "owner_user_token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 5,
"name": "ip_address_creation",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 6,
"name": "ip_address_update",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 7,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 8,
"name": "updated_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP | ON_UPDATE_NOW",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 9,
"name": "maybe_deleted_at",
"type_info": {
"type": "Timestamp",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 63,
"max_size": 19
}
}
],
"parameters": {
"Right": 3
},
"nullable": [
false,
true,
false,
true,
false,
false,
false,
false,
false,
true
]
},
"hash": "097b8a8d02734c8c8e31dbb8a3bf4ace970693a2a0df2f05a31caf86b4d3d0ab"
}
@@ -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": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.folders",
"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.folders",
"name": "token"
}
}
},
{
@@ -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.folders",
"name": "name"
}
}
},
{
@@ -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.folders",
"name": "owner_user_token"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_parent_folder_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_1"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_2"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_3"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_last_media_file_token_4"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_cover_image_custom_media_token"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "maybe_color_code"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "has_star"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.folders",
"name": "created_at"
}
}
},
{
@@ -217,14 +139,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.folders",
"name": "updated_at"
}
}
},
{
@@ -233,10 +149,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"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.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"
}
}
}
],
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"query": "\nSELECT token AS `token: UserToken`\nFROM users\nWHERE email_address = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
},
"hash": "0d2eadc64240b9ce5348b3b238b0ae6229df21697c952b08e930d03f97414cf4"
}
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO uploaded_videos\nSET\n token = ?,\n sha1_checksum = ?,\n filesize_bytes = ?,\n maybe_filename = ?,\n maybe_width = ?,\n maybe_height = ?,\n maybe_resolution = ?,\n maybe_detected_model_family = ?,\n maybe_detected_model_type = ?,\n maybe_report = ?,\n upload_ip_address = ?,\n created_at = NOW()\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 11
},
"nullable": []
},
"hash": "14e63e59f7d550181126151029bcd17d08278196ba0ee4d32450c2567b1da26e"
}
@@ -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"
}
}
}
],
@@ -1,6 +1,6 @@
{
"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 `order_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.job_type = ?\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 ",
"query": "\nSELECT\n jobs.token as `job_token: tokens::tokens::generic_inference_jobs::InferenceJobToken`,\n jobs.maybe_external_third_party_id as `order_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 jobs.created_at\n\nFROM generic_inference_jobs as jobs\n\nWHERE jobs.maybe_external_third_party = ?\n AND jobs.job_type = ?\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": [
{
@@ -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_inference_jobs",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_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.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_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": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -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.generic_inference_jobs",
"name": "creator_set_visibility"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_wallet_ledger_entry_token"
}
}
},
{
@@ -137,14 +89,18 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
},
{
"ordinal": 9,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
}
],
@@ -160,8 +116,9 @@
false,
true,
true,
true
true,
false
]
},
"hash": "ddbbd3886c00268edd3993508f635549fc8ddc877bb059fd58f14b8c07586fc9"
"hash": "1703bc63ce65d98cbcad81d515cbcf211a943c533e38e887d2c12713c78b687d"
}
@@ -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"
}
}
}
],
@@ -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_inference_jobs",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_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.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_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": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -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.generic_inference_jobs",
"name": "creator_set_visibility"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_wallet_ledger_entry_token"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
}
],
@@ -1,6 +1,6 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n p.token as `token: tokens::tokens::prompts::PromptToken`,\n\n p.prompt_type as `prompt_type: enums::by_table::prompts::prompt_type::PromptType`,\n\n p.maybe_model_type as `maybe_model_type: enums::common::generation::common_model_type::CommonModelType`,\n p.maybe_generation_provider as `maybe_generation_provider: enums::common::generation_provider::GenerationProvider`,\n\n p.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n\n p.maybe_positive_prompt,\n p.maybe_negative_prompt,\n\n p.maybe_generation_mode as `maybe_generation_mode: enums::common::generation::common_generation_mode::CommonGenerationMode`,\n p.maybe_aspect_ratio as `maybe_aspect_ratio: enums::common::generation::common_aspect_ratio::CommonAspectRatio`,\n p.maybe_resolution as `maybe_resolution: enums::common::generation::common_resolution::CommonResolution`,\n p.maybe_batch_count as `maybe_batch_count: u8`,\n p.maybe_generate_audio as `maybe_generate_audio: bool`,\n p.maybe_duration_seconds as `maybe_duration_seconds: u32`,\n\n p.maybe_other_args,\n\n p.creator_ip_address,\n p.created_at\n\nFROM prompts as p\nWHERE\n p.token = ?\n ",
"query": "\nSELECT\n p.token as `token: tokens::tokens::prompts::PromptToken`,\n\n p.prompt_type as `prompt_type: enums::by_table::prompts::prompt_type::PromptType`,\n\n p.maybe_model_type as `maybe_model_type: enums::common::generation::common_model_type::CommonModelType`,\n p.maybe_generation_provider as `maybe_generation_provider: enums::common::generation_provider::GenerationProvider`,\n\n p.maybe_creator_user_token as `maybe_creator_user_token: tokens::tokens::users::UserToken`,\n\n p.maybe_positive_prompt,\n p.maybe_negative_prompt,\n\n p.maybe_generation_mode as `maybe_generation_mode: enums::common::generation::common_generation_mode::CommonGenerationMode`,\n p.maybe_aspect_ratio as `maybe_aspect_ratio: enums::common::generation::common_aspect_ratio::CommonAspectRatio`,\n p.maybe_resolution as `maybe_resolution: enums::common::generation::common_resolution::CommonResolution`,\n p.maybe_bitrate as `maybe_bitrate: enums::common::generation::common_bitrate::CommonBitrate`,\n p.maybe_batch_count as `maybe_batch_count: u8`,\n p.maybe_generate_audio as `maybe_generate_audio: bool`,\n p.maybe_duration_seconds as `maybe_duration_seconds: u32`,\n\n p.maybe_other_args,\n\n p.creator_ip_address,\n p.created_at\n\nFROM prompts as p\nWHERE\n p.token = ?\n ",
"describe": {
"columns": [
{
@@ -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,110 +99,78 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_resolution"
}
}
},
{
"ordinal": 10,
"name": "maybe_batch_count: u8",
"name": "maybe_bitrate: enums::common::generation::common_bitrate::CommonBitrate",
"type_info": {
"type": "Tiny",
"flags": "UNSIGNED",
"collation": 63,
"max_size": 3
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_batch_count"
}
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 64
}
},
{
"ordinal": 11,
"name": "maybe_generate_audio: bool",
"name": "maybe_batch_count: u8",
"type_info": {
"type": "Tiny",
"flags": "",
"collation": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_generate_audio"
}
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 3
}
},
{
"ordinal": 12,
"name": "maybe_duration_seconds: u32",
"name": "maybe_generate_audio: bool",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_duration_seconds"
}
"type": "Tiny",
"flags": "",
"char_set": 63,
"max_size": 1
}
},
{
"ordinal": 13,
"name": "maybe_other_args",
"name": "maybe_duration_seconds: u32",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "maybe_other_args"
}
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 14,
"name": "creator_ip_address",
"name": "maybe_other_args",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.prompts",
"name": "creator_ip_address"
}
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 262140
}
},
{
"ordinal": 15,
"name": "creator_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 16,
"name": "created_at",
"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"
}
}
}
],
@@ -278,9 +192,10 @@
true,
true,
true,
true,
false,
false
]
},
"hash": "4a50b7bf06061f05e769a41e547cb927bd2b3a6f67c8ceb37883b744237ba34c"
"hash": "1b69f192c3bb51bd249f97d37f209ae271d498bb46c978351b2c1d8759338bab"
}
@@ -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"
}
}
}
],
@@ -0,0 +1,58 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n payment_occurred_at AS `payment_occurred_at!: DateTime<Utc>`,\n amount_usd_cents,\n event_type AS `event_type!: PaymentEventType`,\n maybe_credits_granted AS `maybe_credits_granted: u32`\nFROM user_spend_events\nWHERE maybe_user_token = ?\n AND payments_namespace = ?\n AND is_production = TRUE\nORDER BY payment_occurred_at ASC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "payment_occurred_at!: DateTime<Utc>",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 1,
"name": "amount_usd_cents",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | NO_DEFAULT_VALUE",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 2,
"name": "event_type!: PaymentEventType",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 3,
"name": "maybe_credits_granted: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false,
false,
true
]
},
"hash": "1c997019b7ed18059bc08d857918c3ce3f5e6ed56d358894cbc496d345566519"
}
@@ -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": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "id"
}
}
},
{
@@ -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_impersonation_requests",
"name": "impersonator_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": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonated_user_token"
}
}
},
{
@@ -89,14 +59,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"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "is_redeemed"
}
}
},
{
@@ -137,10 +89,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 9,
@@ -148,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "expires_at"
}
}
},
{
@@ -164,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "created_at"
}
}
},
{
@@ -180,14 +119,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_impersonation_requests",
"name": "updated_at"
}
}
}
],
@@ -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"
}
}
}
],
@@ -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": {
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -0,0 +1,36 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n stripe_customer_id AS `stripe_customer_id!`,\n user_token AS `user_token!: UserToken`\nFROM user_stripe_customer_links\nWHERE payments_namespace = 'artcraft'\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "stripe_customer_id!",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 1020
}
},
{
"ordinal": 1,
"name": "user_token!: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false
]
},
"hash": "2d49cfbafc29bce35f3e03135054c7521fb0182663aefa971245f91f33a6fc49"
}
@@ -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": {
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO debug_logs\nSET\n event_token = ?,\n debug_log_type = ?,\n maybe_log_level = ?,\n maybe_creator_user_token = ?,\n maybe_ip_address = ?,\n maybe_url = ?,\n message = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 7
},
"nullable": []
},
"hash": "32a8d1cfec89ba2056463a33ddc501a8a99283c7c00982a7fa79f7ff382c9b22"
}
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -6,134 +6,62 @@
{
"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": "queue_status_url",
"ordinal": 7,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "queue_status_url"
}
}
"type_info": "Text"
},
{
"name": "queue_response_url",
"ordinal": 8,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "queue_response_url"
}
}
"type_info": "Text"
},
{
"name": "prompt_token",
"ordinal": 9,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "prompt_token"
}
}
"type_info": "Text"
},
{
"name": "frontend_subscriber_id",
"ordinal": 10,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_id"
}
}
"type_info": "Text"
},
{
"name": "frontend_subscriber_payload",
"ordinal": 11,
"type_info": "Text",
"origin": {
"Table": {
"table": "tasks",
"name": "frontend_subscriber_payload"
}
}
"type_info": "Text"
}
],
"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.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"
}
}
}
],
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nUPDATE tts_results\nSET\n mod_deleted_at = CURRENT_TIMESTAMP,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "376e36b1357952599866262c7356ba35f15ccdfb338d8ccdbdc06ccd69331fc3"
}
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "id"
}
}
},
{
@@ -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_impersonation_requests",
"name": "impersonator_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": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonated_user_token"
}
}
},
{
@@ -89,14 +59,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"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "is_redeemed"
}
}
},
{
@@ -137,10 +89,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 9,
@@ -148,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "expires_at"
}
}
},
{
@@ -164,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "created_at"
}
}
},
{
@@ -180,14 +119,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_impersonation_requests",
"name": "updated_at"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"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.staff_audit_logs",
"name": "token"
}
}
},
{
@@ -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.staff_audit_logs",
"name": "audit_action"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "maybe_entity_type"
}
}
},
{
@@ -72,15 +48,9 @@
"name": "maybe_entity_token",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "maybe_entity_token"
}
}
},
{
@@ -89,14 +59,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"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "staff_user_token"
}
}
},
{
@@ -137,14 +89,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"
}
}
},
{
@@ -153,14 +99,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"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "staff_ip_address"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.staff_audit_logs",
"name": "created_at"
}
}
}
],
@@ -204,7 +132,7 @@
false,
false,
true,
false,
true,
true,
true,
true,
@@ -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 | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_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": 76
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "status"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
@@ -105,14 +69,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.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_debug_log_event_token"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "created_at"
}
}
},
{
@@ -185,14 +119,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_inference_jobs",
"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.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": {
@@ -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_inference_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": 76
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "status"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_token"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
@@ -105,14 +69,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.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_debug_log_event_token"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "created_at"
}
}
},
{
@@ -185,14 +119,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_inference_jobs",
"name": "updated_at"
}
}
}
],
@@ -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"
}
}
}
],
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO user_spend_events\nSET\n token = ?,\n payments_namespace = ?,\n maybe_user_token = ?,\n event_type = ?,\n amount_usd_cents = ?,\n maybe_credits_granted = ?,\n maybe_user_subscription_token = ?,\n maybe_wallet_ledger_entry_token = ?,\n payment_source = ?,\n source_object_id = ?,\n maybe_stripe_customer_id = ?,\n maybe_stripe_invoice_id = ?,\n maybe_stripe_payment_intent_id = ?,\n maybe_stripe_charge_id = ?,\n maybe_stripe_event_id = ?,\n is_production = ?,\n payment_occurred_at = ?\nON DUPLICATE KEY UPDATE token = token\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 17
},
"nullable": []
},
"hash": "3e5a71cedc31cc656177c8331c2de1d1d2d2eb310aabeb7e6238943b073f6998"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nUPDATE uploaded_video_notes\nSET\n maybe_filename = ?,\n maybe_reported_model_type = ?,\n maybe_reported_model_name = ?,\n maybe_website = ?,\n maybe_other_website = ?,\n maybe_comments = ?,\n maybe_email_address = ?,\n can_share_report = ?,\n was_scammed = ?,\n maybe_comment_update_ip_address = ?,\n version = version + 1\nWHERE token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 11
},
"nullable": []
},
"hash": "4036dfd9d4e9e77e557776468c14b75f49170de1e55a1b9b9e83446a0c356e74"
}
@@ -0,0 +1,157 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n token as `token: UploadedVideoToken`,\n sha1_checksum,\n filesize_bytes as `filesize_bytes: u32`,\n maybe_width as `maybe_width: u32`,\n maybe_height as `maybe_height: u32`,\n maybe_resolution,\n maybe_detected_model_family as `maybe_detected_model_family: UploadedVideoDetectedModelFamily`,\n maybe_detected_model_type as `maybe_detected_model_type: UploadedVideoDetectedModelType`,\n maybe_report,\n upload_ip_address,\n maybe_updated_ip_address,\n created_at,\n updated_at\nFROM uploaded_videos\nWHERE sha1_checksum = ?\nLIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "token: UploadedVideoToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "sha1_checksum",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 2,
"name": "filesize_bytes: u32",
"type_info": {
"type": "Long",
"flags": "NOT_NULL | UNSIGNED | NO_DEFAULT_VALUE",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 3,
"name": "maybe_width: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 4,
"name": "maybe_height: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 5,
"name": "maybe_resolution",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 48
}
},
{
"ordinal": 6,
"name": "maybe_detected_model_family: UploadedVideoDetectedModelFamily",
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 7,
"name": "maybe_detected_model_type: UploadedVideoDetectedModelType",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 8,
"name": "maybe_report",
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"char_set": 224,
"max_size": 67108860
}
},
{
"ordinal": 9,
"name": "upload_ip_address",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 10,
"name": "maybe_updated_ip_address",
"type_info": {
"type": "VarString",
"flags": "BINARY",
"char_set": 224,
"max_size": 160
}
},
{
"ordinal": 11,
"name": "created_at",
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 12,
"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,
true,
true,
true,
false,
true,
false,
false
]
},
"hash": "408c893a0ced805de4c3c6cfdf0c6a4bcc93dd1eaf98382522eae46e72eb3aa5"
}
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nUPDATE tts_results\nSET\n mod_deleted_at = NULL,\n maybe_mod_user_token = ?\nWHERE\n token = ?\nLIMIT 1\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "40a3301e9a3201e74d49b6b339f67291e2ae22d315188401708609ac2d28a68c"
}
@@ -0,0 +1,12 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO user_spend_summaries\nSET\n payments_namespace = ?,\n user_token = ?,\n lifetime_gross_spend_usd_cents = ?,\n lifetime_subscription_spend_usd_cents = ?,\n lifetime_credits_spend_usd_cents = ?,\n lifetime_refund_usd_cents = ?,\n lifetime_net_spend_usd_cents = ?,\n lifetime_payment_count = ?,\n lifetime_refund_count = ?,\n first_payment_at = ?,\n first_spend_usd_cents = ?,\n last_payment_at = ?,\n last_spend_usd_cents = ?,\n days_since_first_payment = ?,\n days_since_last_payment = ?,\n net_spend_7d_usd_cents = ?,\n net_spend_prev_7d_usd_cents = ?,\n net_spend_14d_usd_cents = ?,\n net_spend_prev_14d_usd_cents = ?,\n net_spend_30d_usd_cents = ?,\n net_spend_prev_30d_usd_cents = ?,\n net_spend_60d_usd_cents = ?,\n net_spend_90d_usd_cents = ?,\n net_spend_this_year_usd_cents = ?,\n avg_weekly_net_spend_4w_usd_cents = ?,\n avg_weekly_net_spend_12w_usd_cents = ?,\n active_weeks_in_last_4 = ?,\n active_weeks_in_last_8 = ?,\n active_weeks_in_last_12 = ?,\n active_weeks_in_last_24 = ?,\n active_weeks_in_last_52 = ?,\n consecutive_active_weeks = ?,\n consecutive_inactive_weeks = ?,\n weeks_since_last_spend = ?,\n is_active_subscriber = ?,\n maybe_subscription_interval = ?,\n maybe_reengagement_score = ?\nON DUPLICATE KEY UPDATE\n lifetime_gross_spend_usd_cents = VALUES(lifetime_gross_spend_usd_cents),\n lifetime_subscription_spend_usd_cents = VALUES(lifetime_subscription_spend_usd_cents),\n lifetime_credits_spend_usd_cents = VALUES(lifetime_credits_spend_usd_cents),\n lifetime_refund_usd_cents = VALUES(lifetime_refund_usd_cents),\n lifetime_net_spend_usd_cents = VALUES(lifetime_net_spend_usd_cents),\n lifetime_payment_count = VALUES(lifetime_payment_count),\n lifetime_refund_count = VALUES(lifetime_refund_count),\n first_payment_at = VALUES(first_payment_at),\n first_spend_usd_cents = VALUES(first_spend_usd_cents),\n last_payment_at = VALUES(last_payment_at),\n last_spend_usd_cents = VALUES(last_spend_usd_cents),\n days_since_first_payment = VALUES(days_since_first_payment),\n days_since_last_payment = VALUES(days_since_last_payment),\n net_spend_7d_usd_cents = VALUES(net_spend_7d_usd_cents),\n net_spend_prev_7d_usd_cents = VALUES(net_spend_prev_7d_usd_cents),\n net_spend_14d_usd_cents = VALUES(net_spend_14d_usd_cents),\n net_spend_prev_14d_usd_cents = VALUES(net_spend_prev_14d_usd_cents),\n net_spend_30d_usd_cents = VALUES(net_spend_30d_usd_cents),\n net_spend_prev_30d_usd_cents = VALUES(net_spend_prev_30d_usd_cents),\n net_spend_60d_usd_cents = VALUES(net_spend_60d_usd_cents),\n net_spend_90d_usd_cents = VALUES(net_spend_90d_usd_cents),\n net_spend_this_year_usd_cents = VALUES(net_spend_this_year_usd_cents),\n avg_weekly_net_spend_4w_usd_cents = VALUES(avg_weekly_net_spend_4w_usd_cents),\n avg_weekly_net_spend_12w_usd_cents = VALUES(avg_weekly_net_spend_12w_usd_cents),\n active_weeks_in_last_4 = VALUES(active_weeks_in_last_4),\n active_weeks_in_last_8 = VALUES(active_weeks_in_last_8),\n active_weeks_in_last_12 = VALUES(active_weeks_in_last_12),\n active_weeks_in_last_24 = VALUES(active_weeks_in_last_24),\n active_weeks_in_last_52 = VALUES(active_weeks_in_last_52),\n consecutive_active_weeks = VALUES(consecutive_active_weeks),\n consecutive_inactive_weeks = VALUES(consecutive_inactive_weeks),\n weeks_since_last_spend = VALUES(weeks_since_last_spend),\n is_active_subscriber = VALUES(is_active_subscriber),\n maybe_subscription_interval = VALUES(maybe_subscription_interval),\n maybe_reengagement_score = VALUES(maybe_reengagement_score)\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 37
},
"nullable": []
},
"hash": "41cf2f8d64aa36fb930cc1bf8a46d37e0987b743438b44e1c55859fc6b6ee6a0"
}
@@ -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": {
@@ -0,0 +1,25 @@
{
"db_name": "MySQL",
"query": "\nSELECT status as `status: enums::common::job_status_plus::JobStatusPlus`\nFROM generic_inference_jobs\nWHERE token = ?\nFOR UPDATE\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "status: enums::common::job_status_plus::JobStatusPlus",
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"char_set": 224,
"max_size": 76
}
}
],
"parameters": {
"Right": 1
},
"nullable": [
false
]
},
"hash": "489c6ef00507330fedbaf2b6e024ecf409a920efd85f75456829a8ed412d9bc3"
}
@@ -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"
}
}
}
],
@@ -1,12 +0,0 @@
{
"db_name": "MySQL",
"query": "\nINSERT INTO voice_clone_requests\nSET\n token = ?,\n uuid_idempotency_token = ?,\n\n maybe_user_token = ?,\n email_address = ?,\n discord_username = ?,\n\n is_for_private_use = ?,\n is_for_public_use = ?,\n\n is_for_studio = ?,\n is_for_twitch_tts = ?,\n is_for_api_use = ?,\n is_for_music = ?,\n is_for_games = ?,\n is_for_other = ?,\n optional_notes_on_use = ?,\n\n is_own_voice = ?,\n is_third_party_voice = ?,\n optional_notes_on_subject = ?,\n\n has_clean_audio_recordings = ?,\n has_good_microphone = ?,\n\n optional_questions = ?,\n optional_extra_comments = ?,\n\n ip_address_creation = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 22
},
"nullable": []
},
"hash": "4cea10944b8869419ecdfea30c58f49a87c090b9083078043177c33737ecb949"
}
@@ -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"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"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.user_referrals",
"name": "invited_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": "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": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "referrer_user_token"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,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"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_referral_code_token"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_referral_url"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "maybe_landing_url"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_referrals",
"name": "created_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.user_subscriptions",
"name": "subscription_namespace"
}
}
},
{
@@ -25,14 +19,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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_creator_user_token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "media_class"
}
}
},
{
@@ -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": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_cover_image_media_file_token"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "id"
}
}
},
{
@@ -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_email_changes",
"name": "old_email"
}
}
},
{
@@ -41,14 +29,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_email_changes",
"name": "new_email"
}
}
},
{
@@ -57,14 +39,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 160
},
"origin": {
"Table": {
"table": "storyteller.user_email_changes",
"name": "ip_address"
}
}
},
{
@@ -73,14 +49,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_email_changes",
"name": "created_at"
}
}
},
{
@@ -89,14 +59,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"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,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"
}
}
},
{
@@ -137,14 +89,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"
}
}
},
{
@@ -153,14 +99,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"
}
}
},
{
@@ -169,14 +109,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"
}
}
},
{
@@ -185,14 +119,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"
}
}
},
{
@@ -201,14 +129,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"
}
}
}
],
@@ -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_referral_codes",
"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_referral_codes",
"name": "owner_user_token"
}
}
},
{
@@ -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_referral_codes",
"name": "code"
}
}
},
{
@@ -57,14 +39,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_referral_codes",
"name": "code_lowercase"
}
}
}
],
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -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"
}
}
}
],
@@ -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_files",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "media_class"
}
}
},
{
@@ -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": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_engine_category"
}
}
},
{
@@ -73,14 +49,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_animation_type"
}
}
},
{
@@ -89,14 +59,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_media_subtype"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_mime_type"
}
}
},
{
@@ -121,14 +79,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"
}
}
},
{
@@ -137,14 +89,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"
}
}
},
{
@@ -153,14 +99,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"
}
}
},
{
@@ -169,14 +109,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"
}
}
},
{
@@ -185,14 +119,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_creator_anonymous_visitor_token"
}
}
},
{
@@ -201,14 +129,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_batch_token"
}
}
},
{
@@ -217,14 +139,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_style_transfer_source_media_file_token"
}
}
},
{
@@ -233,14 +149,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_scene_source_media_file_token"
}
}
},
{
@@ -249,14 +159,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_title"
}
}
},
{
@@ -265,14 +169,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_text_transcript"
}
}
},
{
@@ -281,14 +179,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 1020
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_origin_filename"
}
}
},
{
@@ -297,14 +189,8 @@
"type_info": {
"type": "Long",
"flags": "",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_duration_millis"
}
}
},
{
@@ -313,14 +199,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "maybe_prompt_token"
}
}
},
{
@@ -329,14 +209,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"
}
}
},
{
@@ -345,14 +219,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"
}
}
},
{
@@ -361,14 +229,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"
}
}
},
{
@@ -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_extension"
}
}
},
{
@@ -393,14 +249,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "creator_set_visibility"
}
}
},
{
@@ -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.media_files",
"name": "is_user_upload"
}
}
},
{
@@ -425,14 +269,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL | MULTIPLE_KEY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "is_intermediate_system_file"
}
}
},
{
@@ -441,14 +279,8 @@
"type_info": {
"type": "VarString",
"flags": "UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "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.model_weights",
"name": "title"
}
}
},
{
@@ -473,14 +299,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_type"
}
}
},
{
@@ -489,14 +309,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "weights_category"
}
}
},
{
@@ -505,14 +319,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"
}
}
},
{
@@ -521,14 +329,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"
}
}
},
{
@@ -537,14 +339,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"
}
}
},
{
@@ -553,14 +349,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"
}
}
},
{
@@ -569,14 +359,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"
}
}
},
{
@@ -585,14 +369,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"
}
}
},
{
@@ -601,14 +379,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"
}
}
},
{
@@ -617,14 +389,8 @@
"type_info": {
"type": "Blob",
"flags": "BLOB | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 262140
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "extra_file_modification_info"
}
}
},
{
@@ -633,14 +399,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"
}
}
},
{
@@ -649,14 +409,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"
}
}
},
{
@@ -665,14 +419,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"
}
}
},
{
@@ -681,14 +429,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"
}
}
},
{
@@ -697,14 +439,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"
}
}
},
{
@@ -713,14 +449,8 @@
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 10
},
"origin": {
"Table": {
"table": "storyteller.entity_stats",
"name": "bookmark_count"
}
}
},
{
@@ -729,10 +459,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 46,
@@ -740,14 +469,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.media_files",
"name": "created_at"
}
}
},
{
@@ -756,14 +479,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.media_files",
"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.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 | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_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.voice_conversion_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.voice_conversion_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.voice_conversion_models",
"name": "ietf_primary_language_subtag"
}
}
},
{
@@ -153,14 +99,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "is_front_page_featured"
}
}
},
{
@@ -169,14 +109,8 @@
"type_info": {
"type": "String",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | ENUM",
"collation": 255,
"char_set": 224,
"max_size": 28
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_models",
"name": "creator_set_visibility"
}
}
},
{
@@ -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.voice_conversion_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.voice_conversion_models",
"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.generic_download_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.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"
}
}
}
],
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.voice_conversion_result_synthetic_ids",
"name": "next_id"
}
}
}
],
@@ -0,0 +1,124 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n s.user_token AS `user_token!: UserToken`,\n u.username AS `username!`,\n u.display_name AS `display_name!`,\n u.email_gravatar_hash AS `email_gravatar_hash!`,\n s.maybe_reengagement_score AS `reengagement_score!: u32`,\n s.lifetime_net_spend_usd_cents,\n s.last_payment_at AS `maybe_last_payment_at: DateTime<Utc>`,\n s.days_since_last_payment AS `maybe_days_since_last_payment: u32`,\n s.weeks_since_last_spend AS `maybe_weeks_since_last_spend: u32`,\n s.is_active_subscriber AS `is_active_subscriber: bool`\nFROM user_spend_summaries s\nJOIN users u ON u.token = s.user_token\nWHERE s.payments_namespace = ?\n AND s.maybe_reengagement_score > 0\nORDER BY s.maybe_reengagement_score DESC, s.id ASC\nLIMIT ? OFFSET ?\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "user_token!: UserToken",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 1,
"name": "username!",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | UNIQUE_KEY | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 2,
"name": "display_name!",
"type_info": {
"type": "VarString",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 80
}
},
{
"ordinal": 3,
"name": "email_gravatar_hash!",
"type_info": {
"type": "String",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"char_set": 224,
"max_size": 128
}
},
{
"ordinal": 4,
"name": "reengagement_score!: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 5,
"name": "lifetime_net_spend_usd_cents",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"char_set": 63,
"max_size": 20
}
},
{
"ordinal": 6,
"name": "maybe_last_payment_at: DateTime<Utc>",
"type_info": {
"type": "Timestamp",
"flags": "BINARY",
"char_set": 63,
"max_size": 19
}
},
{
"ordinal": 7,
"name": "maybe_days_since_last_payment: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 8,
"name": "maybe_weeks_since_last_spend: u32",
"type_info": {
"type": "Long",
"flags": "UNSIGNED",
"char_set": 63,
"max_size": 10
}
},
{
"ordinal": 9,
"name": "is_active_subscriber: bool",
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"char_set": 63,
"max_size": 1
}
}
],
"parameters": {
"Right": 3
},
"nullable": [
false,
false,
false,
false,
true,
false,
true,
true,
true,
false
]
},
"hash": "5b1954301fc16703a04e2f63fd85c28bf2283bc1ecb5624107686dad0dfe364f"
}
@@ -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": "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,10 +9,9 @@
"type_info": {
"type": "NewDecimal",
"flags": "BINARY",
"collation": 63,
"char_set": 63,
"max_size": 33
},
"origin": "Expression"
}
}
],
"parameters": {
@@ -9,14 +9,8 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | PRIMARY_KEY | UNSIGNED | AUTO_INCREMENT",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "id"
}
}
},
{
@@ -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_impersonation_requests",
"name": "impersonator_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": "VarString",
"flags": "NOT_NULL | MULTIPLE_KEY | BINARY | NO_DEFAULT_VALUE",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "impersonated_user_token"
}
}
},
{
@@ -89,14 +59,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"
}
}
},
{
@@ -105,14 +69,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"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "Tiny",
"flags": "NOT_NULL",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "is_redeemed"
}
}
},
{
@@ -137,10 +89,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 1
},
"origin": "Expression"
}
},
{
"ordinal": 9,
@@ -148,14 +99,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | NO_DEFAULT_VALUE",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "expires_at"
}
}
},
{
@@ -164,14 +109,8 @@
"type_info": {
"type": "Timestamp",
"flags": "NOT_NULL | BINARY | TIMESTAMP",
"collation": 63,
"char_set": 63,
"max_size": 19
},
"origin": {
"Table": {
"table": "storyteller.user_impersonation_requests",
"name": "created_at"
}
}
},
{
@@ -180,14 +119,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_impersonation_requests",
"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.generic_inference_jobs",
"name": "token"
}
}
},
{
@@ -25,14 +19,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 256
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_external_third_party_id"
}
}
},
{
@@ -41,14 +29,8 @@
"type_info": {
"type": "VarString",
"flags": "MULTIPLE_KEY | BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_creator_user_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.generic_inference_jobs",
"name": "maybe_creator_anonymous_visitor_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": 160
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "creator_ip_address"
}
}
},
{
@@ -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.generic_inference_jobs",
"name": "creator_set_visibility"
}
}
},
{
@@ -105,14 +69,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_prompt_token"
}
}
},
{
@@ -121,14 +79,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 128
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "maybe_wallet_ledger_entry_token"
}
}
},
{
@@ -137,14 +89,8 @@
"type_info": {
"type": "VarString",
"flags": "BINARY",
"collation": 255,
"char_set": 224,
"max_size": 64
},
"origin": {
"Table": {
"table": "storyteller.generic_inference_jobs",
"name": "platform_type"
}
}
}
],
@@ -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": "LongLong",
"flags": "NOT_NULL | UNSIGNED",
"collation": 63,
"char_set": 63,
"max_size": 20
},
"origin": {
"Table": {
"table": "storyteller.model_weights",
"name": "cached_usage_count"
}
}
}
],
@@ -1,38 +0,0 @@
{
"db_name": "MySQL",
"query": "\nSELECT\n COUNT(distinct token) as record_count,\n NOW() as present_time\nFROM\n(\n SELECT token\n FROM tts_inference_jobs\n WHERE status = \"started\"\n AND created_at > (CURDATE() - INTERVAL 5 MINUTE)\nUNION\n SELECT token\n FROM tts_inference_jobs\n WHERE status IN (\"pending\", \"attempt_failed\")\n) as t\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "record_count",
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 21
},
"origin": "Expression"
},
{
"ordinal": 1,
"name": "present_time",
"type_info": {
"type": "Datetime",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"max_size": 19
},
"origin": "Expression"
}
],
"parameters": {
"Right": 0
},
"nullable": [
false,
false
]
},
"hash": "6098826a8ada75442be5b7ac1d0199694e01c5959666f59986cd8b2ed6f51882"
}
@@ -9,10 +9,9 @@
"type_info": {
"type": "LongLong",
"flags": "NOT_NULL | BINARY",
"collation": 63,
"char_set": 63,
"max_size": 21
},
"origin": "Expression"
}
}
],
"parameters": {

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