ente/server/migrations/72_add_on_storage.up.sql

6 lines
252 B
MySQL
Raw Normal View History

2024-03-01 08:07:01 +00:00
ALTER TABLE storage_bonus
DROP CONSTRAINT IF EXISTS storage_bonus_type_check;
ALTER TABLE storage_bonus
ADD CONSTRAINT storage_bonus_type_check
CHECK (type IN ('REFERRAL', 'SIGN_UP', 'ANNIVERSARY', 'ADD_ON_BF_2023', 'ADD_ON_SUPPORT'));