Fix migrations for SQLite