common/dal/schema/000029_init.up.sql

13 lines
361 B
MySQL
Raw Normal View History

2025-11-14 10:38:09 +00:00
DROP INDEX if EXISTS idx_unique_tokens_yclients;
DROP TABLE IF EXISTS YclientsTokens;
ALTER TABLE YclientsAccounts
DROP COLUMN IF EXISTS ShortDecription,
DROP COLUMN IF EXISTS Country;
ALTER TABLE YclientsTimeSlots
ALTER COLUMN DatesSettings SET DEFAULT '[]'::jsonb;
UPDATE YclientsTimeSlots
SET DatesSettings = '[]'::jsonb
WHERE DatesSettings = '{}'::jsonb;