Can I delete all migration files and start from scratch?
问题 I have a Rails-API app that I'm going to re-deploy after a long time. The app is non-production, but I am ready to deploy the production version. I want to basically delete all the migration files and start from scratch using the schema, is there any problem with this approach? Assuming I can do this, what do I need to alter the schema.rb to? Is this a common practice? Seems reasonable to me. # what do I change the version param value to? ActiveRecord::Schema.define(version: 20171129023538)