Skip to content

[FEATURE] DB Rename trading → crypto_trading #930

@jovirecall

Description

@jovirecall

Continuation from #929

The "core" competitions table in apps/api has a single "type" field, which is always a "trading" string value. we can migrate this to crypto_trading.

Also, the preceding frontend PR introduced a new method that maps "trading" => "crypto trading". We'll want alter the formatCompetitionType method and remove the custom mapping. However, we can keep the fn and make it: convert the original type value from snake_case to Title Case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions