mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:48:45 +08:00
8 lines
364 B
SQL
8 lines
364 B
SQL
-- PR 3593 added Grok media routes for image generation, image edits, and video generation.
|
|
-- Existing Grok groups were created before the image-generation gate knew about
|
|
-- the Grok platform, so backfill them onto the same generation capability gate.
|
|
UPDATE groups
|
|
SET allow_image_generation = true
|
|
WHERE platform = 'grok'
|
|
AND allow_image_generation = false;
|