Fix for SQLite migrations #2