fixed migration.sql