Add db migration and project file fix.