Migration 1685000001001-add-currency-field-to-courses.ts adds currency varchar(3) DEFAULT 'USD' (plus index IDX_course_currency) to the course table, but Course (src/courses/entities/course.entity.ts) has no currency column.
The app can't use multi-currency pricing via TypeORM, and the drift check wants to drop the column (see #1194).
Fix: declare currency on the Course entity with the same type/default, and align the index name (IDX_course_currency).
Migration
1685000001001-add-currency-field-to-courses.tsaddscurrency varchar(3) DEFAULT 'USD'(plus indexIDX_course_currency) to thecoursetable, butCourse(src/courses/entities/course.entity.ts) has nocurrencycolumn.The app can't use multi-currency pricing via TypeORM, and the drift check wants to drop the column (see #1194).
Fix: declare
currencyon the Course entity with the same type/default, and align the index name (IDX_course_currency).