structure.sql is causing errors in production when migrating