###前提・実現したいこと
ローカル環境で開発したものをAWS上にアップしてrake db:migrate RAILS_ENV=productionを行ったが、エラーが起こってしまう。ローカル環境では、migrateが出来るのですが、、、
###発生している問題・エラーメッセージ
ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` Migrating to DeleteTagCategories (20170422082951) == 20170422082951 DeleteTagCategories: migrating ============================== -- drop_table(:tag_categories) (0.2ms) DROP TABLE `tag_categories` rake aborted! StandardError: An error has occurred, all later migrations canceled: Mysql2::Error: Unknown table 'tag_categories': DROP TABLE `tag_categories`
どのような対象をするのがベストなのでしょうか。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。