Skip to content

No database migration rollback scripts for any migration #715

@Haroldwonder

Description

@Haroldwonder

The backend/src/migrate.ts migration system applies forward migrations but there are no rollback scripts. If a migration causes issues in production, there is no automated way to revert the database schema.

File: backend/src/migrate.ts, migration files

Fix: Add a down migration script for each up migration and implement a rollback command in the migration runner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions