veza/veza-backend-api/migrations/941_notification_prefs_defaults_v0105_down.sql

8 lines
321 B
MySQL
Raw Normal View History

-- Rollback migration 941: restore original push defaults
ALTER TABLE notification_preferences
ALTER COLUMN push_follow SET DEFAULT true,
ALTER COLUMN push_message SET DEFAULT true,
ALTER COLUMN push_like SET DEFAULT true,
ALTER COLUMN push_comment SET DEFAULT true,
ALTER COLUMN push_mention SET DEFAULT true;