Fixed the migration files.
Updated the database configuration.