Skip to content

[Feature Request] Mark rollback as impossible. #23

@BigBoyBarney

Description

@BigBoyBarney

Hi! Thanks for the shard!

Sometimes I make changes to the logic in a way that's incompatible with rollbacks. I.e: unifying multiple tables or rewriting the insertion logic in a way that renders something redundant.

In these cases, I currently have the migration file like so:

-- drift:migrate
drop table if exists temp_gacha_history;

-- drift:rollback

It would be cool to be able to mark rollback as impossible, so that it throws an error if it is attempted.

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