Commit Graph

89 Commits

Author SHA1 Message Date
Brandon Thomas 5cb1e789da Add two new columns to media_files: watermark, upload 2024-08-23 02:35:27 -04:00
Brandon Thomas 8b9526d13d document insert statements 2024-08-22 23:28:43 -04:00
Brandon Thomas 14c4935355 migrations to add indices (already run in prod!) 2024-08-22 23:20:54 -04:00
Brandon Thomas c3b3fef10c browser session logs table 2024-05-23 01:36:56 -04:00
Brandon Thomas c31695ca07 migration for beta keys - is_distributed 2024-05-23 01:01:18 -04:00
Brandon Thomas 605711a36c migrations for beta keys 2024-05-23 00:01:37 -04:00
Brandon Thomas 979a8de5ae add creator to beta keys schema 2024-05-16 13:30:47 -07:00
Brandon Thomas ba76e70242 tag tables 2024-05-15 17:25:14 -07:00
Brandon Thomas 646f56dcd3 migration: widen routing tag 2024-05-13 19:52:41 -07:00
Brandon Thomas 55b9b96c68 fixup migration for beta_keys 2024-05-13 19:33:57 -07:00
Brandon Thomas 6555d10353 fix migrations we're about to run 2024-05-13 18:07:43 -07:00
Brandon Thomas d69735712a beta keys schema wip 2024-05-12 23:51:31 -07:00
Brandon Thomas f7b47dea0d wip beta keys 2024-05-12 20:51:11 -07:00
Brandon Thomas 044782e54c new columns for media files: is system file, upstream, nsfw status 2024-05-11 13:52:37 -07:00
Brandon Thomas 44f5e14ded SQL for featured_items table 2024-05-03 23:15:15 -04:00
Brandon Thomas a947c10ed0 migration for engine category 2024-04-29 09:36:23 -04:00
Brandon Thomas f5a64c1eda migration: jobs dismissal 2024-04-25 01:09:34 -04:00
Brandon Thomas 16a383d405 migration for animation type 2024-04-25 00:30:39 -04:00
Brandon Thomas 79be5af336 "maybe_source" column on users 2024-04-12 03:44:22 -04:00
Brandon Thomas d5b731b369 migration: add media file cover images 2024-04-11 00:00:59 -04:00
Brandon Thomas 1cb420f5a3 media_files migrations: maybe_title, media_class 2024-03-14 03:43:26 -04:00
Brandon Thomas a254aa4519 migration for user feature flags 2024-03-05 03:36:58 -05:00
Brandon Thomas da4d7bea30 media_files - maybe_media_subtype column 2024-03-04 03:32:00 -05:00
Brandon Thomas ea3df73e0f prompt token in media_files, enums, tokens 2024-02-22 04:21:26 -05:00
Brandon Thomas a1c01a2f3c new tables for usages and prompts 2024-02-21 22:54:07 -05:00
Brandon Thomas 7bac45cad1 add migration for cover images in generic inference jobs (uploads) 2024-02-15 19:30:32 -05:00
Brandon Thomas 53b2aedbb0 Five new schema migrations 2024-02-14 05:27:01 -05:00
Brandon Thomas 0e24e38576 rollout column for studio access 2024-02-06 23:20:14 -05:00
Brandon Thomas 12070bc399 indices on temporal columns in model_weights 2024-02-04 21:26:15 -05:00
Brandon Thomas 6f7262d0e8 Wrong index type for job_type. Hopefully nobody ran this. 2024-02-01 19:35:48 -05:00
Brandon Thomas e9de700f2c Migration to add job_type - we'll need to start populating this. 2024-01-31 23:10:16 -05:00
Brandon Thomas 7cc310764e new tables: idempotency_tokens, batch_generations; new column 2024-01-16 19:10:23 -05:00
Brandon Thomas 5933387f5c tts_models migration: weights db column, list tts models 2024-01-13 22:49:14 -05:00
Brandon Thomas 12f59916b6 record stats 2024-01-05 23:34:12 -05:00
Brandon Thomas 79cbeaffe0 stats table 2024-01-04 01:10:32 -05:00
Brandon Thomas 02bec3655c make model_weights descriptions optional
- these will be bad to have on low-value weights, eg. zero shot.
- want to capture this change now
2023-12-24 02:24:20 -05:00
Brandon Thomas fae36d485b migrations to simplify media files on a model 2023-12-21 22:26:41 -05:00
Brandon Thomas 0cff684e97 rename model_weights bucket fields: private -> public 2023-12-21 01:30:10 -05:00
Brandon Thomas a6806d3616 indices on model_weights and users (there weren't any on model_weights!) 2023-12-15 13:57:22 -05:00
Brandon Thomas 98fa0a67ea rename extension tables 2023-12-15 13:33:14 -05:00
Brandon Thomas 11e3a4e429 rename model_weights_samples -> model_weights_preview_samples
- doing this before anyone else runs these migrations
- also added "squashed" documentation on the model_weights and
  associated tables
- also added (commented) good indices for model_weights
2023-12-15 12:47:33 -05:00
Brandon Thomas 5108f94c0f Lots of schema changes afoot - model_weights migration, covers, samples
Model weights migration (old tokens):

- model_weights.maybe_migration_old_model_token

Model weights migration (new tokens):

- tts_models.maybe_migration_new_model_weights_token
- vocoder_models.maybe_migration_new_model_weights_token
- voice_conversion_models.maybe_migration_new_model_weights_token

Cover and banner images for models:

- model_weights.maybe_banner_media_file_token
- model_weights.maybe_cover_media_file_token

Avatar and banner images for users:

- users.maybe_avatar_media_file_token
- users.maybe_cover_media_file_token

Sample multimedia for models:

- model_weights_samples (new table)
2023-12-15 10:26:08 -05:00
Brandon Thomas 6fc1dd263c migration dir had a space in it 2023-12-14 20:23:03 -05:00
kasisnu 5971d95a80 Rename favorites -> user_bookmarks, add new table 2023-12-11 21:08:33 +05:30
Brandon Thomas 2c502359a4 user favorites, entity favorites, etc. + minor changes 2023-11-21 18:02:32 -05:00
kasisnu 18bd819da2 zsvoice & VC models can be favorited 2023-11-21 14:59:28 -05:00
kasisnu b2bdf16c1c update postman collection w/favoritesc 2023-11-21 14:59:27 -05:00
kasisnu b436b07955 super basic favorites impl 2023-11-21 14:59:27 -05:00
Brandon Thomas c7c7c5b798 email-job 2023-11-15 22:31:18 -05:00
Brandon Thomas 170f6772d7 rename migrations for better operational sequencing 2023-11-15 21:02:11 -05:00