Fix compilation errors. Disable db migration by default