085_channel_restrict_and_per_request_price.sql 313 B

12345
  1. -- Add model restriction switch to channels
  2. ALTER TABLE channels ADD COLUMN IF NOT EXISTS restrict_models BOOLEAN DEFAULT false;
  3. -- Add default per_request_price to channel_model_pricing (fallback when no tier matches)
  4. ALTER TABLE channel_model_pricing ADD COLUMN IF NOT EXISTS per_request_price NUMERIC(20,10);