This repository was archived by the owner on Apr 21, 2026. It is now read-only.
Commit 2f11865
Use explicit IDs for roles seed data in migration
CockroachDB uses unique_rowid() instead of sequential auto-increment,
so role IDs are not 1,2,3. The users insert references role_id=1 via
foreign key, so roles must have explicit IDs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2210653 commit 2f11865
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments