Fix auto migration for sqlite