move migrations flag to production, not local