Migration 1710000000000-AddTimezoneLocalePreferences.ts adds currency varchar DEFAULT 'USD' to user_preferences, but UserPreference (src/user-preferences/entities/user-preference.entity.ts) only declares locale, language, timezone, etc. — no currency.
Same consequences as the users/course cases: the column can't be read through the entity and the drift check wants to drop it.
Fix: declare currency on the entity or drop the column.
Migration
1710000000000-AddTimezoneLocalePreferences.tsaddscurrency varchar DEFAULT 'USD'touser_preferences, butUserPreference(src/user-preferences/entities/user-preference.entity.ts) only declareslocale,language,timezone, etc. — nocurrency.Same consequences as the
users/coursecases: the column can't be read through the entity and the drift check wants to drop it.Fix: declare
currencyon the entity or drop the column.