Skip to content

users entity is missing the location/currency columns migrations add #1204

Description

@RUKAYAT-CODER

Migrations 1685000001000-add-currency-and-location-fields-to-users.ts and 1710000000000-AddTimezoneLocalePreferences.ts add country, country_code, preferred_currency, city, currency, and timezone columns to users, but User (src/users/entities/user.entity.ts) declares none of them.

Consequences:

Fix: either declare the columns on the User entity (with matching names/types) or add a migration to drop them if they're truly unused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions