Fix DB model.
This commit is contained in:
7
migrations/remove_email_preferences.sql
Normal file
7
migrations/remove_email_preferences.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Remove all email preference columns from user_preferences table
|
||||
-- These columns were not being used and are being removed to clean up the schema
|
||||
|
||||
ALTER TABLE user_preferences
|
||||
DROP COLUMN IF EXISTS email_daily_summary,
|
||||
DROP COLUMN IF EXISTS email_notifications,
|
||||
DROP COLUMN IF EXISTS email_weekly_summary;
|
||||
@@ -18,6 +18,7 @@ MIGRATION_STATE_FILE = '/data/postgres_migrations_state.json'
|
||||
POSTGRES_MIGRATIONS = [
|
||||
'postgres_only_migration.py', # Main migration from commit 4214e88 onward
|
||||
'add_note_sharing.sql', # Add note sharing functionality
|
||||
'remove_email_preferences.sql', # Remove unused email preference columns
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user