move the migration (sql) execution into the db interface