Skip to content

Migration failed for one user only what could went wrong? #3369

Answered by simolus3
canavci312 asked this question in Q&A
Discussion options

You must be logged in to vote

Is it because I didnt have step by step migrations before? Or should I also keep this in mind for step by step migrations aswell.

This is very likely related to step-by-step migrations not being used at these older versions.

Tests seemed to be passing

Did you use the tests generated by make-migrations? We have a test there that tests all combinations of schema migrations:

final versions = GeneratedHelper.versions;
for (final (i, fromVersion) in versions.indexed) {
group('from $fromVersion', () {
for (final toVersion in versions.skip(i + 1)) {
test('to $toV…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@canavci312
Comment options

@simolus3
Comment options

Answer selected by canavci312
@canavci312
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants