Fix DB Model.

This commit is contained in:
2025-07-09 18:21:23 +02:00
parent 092a8b7084
commit 2d18849267
4 changed files with 29 additions and 6 deletions

View File

@@ -1,7 +1,8 @@
-- Remove all email preference columns from user_preferences table
-- These columns were not being used and are being removed to clean up the schema
-- Remove unused columns from user_preferences table
-- These columns were defined in the model but never used in the application
ALTER TABLE user_preferences
DROP COLUMN IF EXISTS email_daily_summary,
DROP COLUMN IF EXISTS email_notifications,
DROP COLUMN IF EXISTS email_weekly_summary;
DROP COLUMN IF EXISTS email_weekly_summary,
DROP COLUMN IF EXISTS default_project_id;