You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sqlite): use correct SQLite syntax for migrations table
The __drizzle_migrations table was being created with PostgreSQL syntax
(SERIAL PRIMARY KEY) instead of proper SQLite syntax (integer PRIMARY KEY
AUTOINCREMENT). While SQLite's flexible typing allowed the table to be
created, the id column was stored with type "SERIAL" rather than "INTEGER",
meaning it wouldn't behave as a proper auto-incrementing integer primary key.
Added tests to verify the migrations table schema uses correct SQLite
syntax in all SQLite test files.
The tests were validated to indeed fail before this change.
0 commit comments