...are pointing to a parent snapshot: drizzle/meta/0000_snapshot.json/snapshot.json which is a colli

I got this error:
Error: [drizzle/meta/0000_snapshot.json, drizzle/meta/0005_snapshot.json] are pointing to a parent snapshot: drizzle/meta/0000_snapshot.json/snapshot.json which is a collision.
Error: [drizzle/meta/0000_snapshot.json, drizzle/meta/0005_snapshot.json] are pointing to a parent snapshot: drizzle/meta/0000_snapshot.json/snapshot.json which is a collision.
No clue what it means Can someone help?
1 Reply
Meierschlumpf
Meierschlumpf6mo ago
Hey @yves Just had the exact same issue: Error: [migrations\sqlite\meta\0001_snapshot.json, migrations\sqlite\meta\0002_snapshot.json] are pointing to a parent snapshot: migrations\sqlite\meta\0001_snapshot.json/snapshot.json which is a collision. For me the issue was, that the snapshot 1 and 2 where both pointing to the same prevId of 0 So you probably have to change your prevId to the id of the snapshot 4 for your snapshot 5: 0000_snapshot.json
"id": "0575873a-9e10-4480-8d7d-c47198622c22",
"prevId": "00000000-0000-0000-0000-000000000000",
"id": "0575873a-9e10-4480-8d7d-c47198622c22",
"prevId": "00000000-0000-0000-0000-000000000000",
0001_snapshot.json
"id": "2ed0ffc3-8612-42e7-bd8e-f5f8f3338a39",
"prevId": "0575873a-9e10-4480-8d7d-c47198622c22",
"id": "2ed0ffc3-8612-42e7-bd8e-f5f8f3338a39",
"prevId": "0575873a-9e10-4480-8d7d-c47198622c22",
0002_snapshot.json
"id": "5ad60251-8450-437d-9081-a456884120d2",
"prevId": "0575873a-9e10-4480-8d7d-c47198622c22", <-- same id as 0001_snapshot.json
"id": "5ad60251-8450-437d-9081-a456884120d2",
"prevId": "0575873a-9e10-4480-8d7d-c47198622c22", <-- same id as 0001_snapshot.json
Want results from more Discord servers?
Add your server