Fixing column names and applying migrations