Jill
d4e930e424
this is to prevent ids from overlapping after a level is deleted this WILL cause issues on older databases. i will not be responsible
8 lines
142 B
SQL
8 lines
142 B
SQL
-- +migrate up
|
|
CREATE TABLE next_id (
|
|
name TEXT NOT NULL,
|
|
id INTEGER NOT NULL DEFAULT 0
|
|
);
|
|
|
|
-- +migrate down
|
|
DROP TABLE next_id; |