mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-05-05 05:30:44 +08:00
6 lines
313 B
MySQL
6 lines
313 B
MySQL
|
|
-- Add model restriction switch to channels
|
||
|
|
ALTER TABLE channels ADD COLUMN IF NOT EXISTS restrict_models BOOLEAN DEFAULT false;
|
||
|
|
|
||
|
|
-- Add default per_request_price to channel_model_pricing (fallback when no tier matches)
|
||
|
|
ALTER TABLE channel_model_pricing ADD COLUMN IF NOT EXISTS per_request_price NUMERIC(20,10);
|