piccolo icon indicating copy to clipboard operation
piccolo copied to clipboard

applying `migration forward <module> --fake` should not fake all migrations

Open Jacky56 opened this issue 4 months ago • 1 comments

hello all,

so there was some slight issue with the migrations process, where its incredibly buggy due to no rollbacks when migrations breaks midway through

the --fake parameter for migrations forward should ideally only fake the next migrations or at the very least warn the developer before applying

piccolo version: piccolo[postgres]==1.24.2 cockroachDB version: Basic, Google Cloud v25.2.4

Jacky56 avatar Aug 24 '25 23:08 Jacky56

OK, interesting point. I agree that if there are several migrations waiting to be run then the --fake flag should output some kind of warning.

dantownsend avatar Aug 25 '25 18:08 dantownsend