开发者

how to get definitely rid of this apn_on_rails gem?

开发者 https://www.devze.com 2023-02-14 10:38 出处:网络
I installed this gem and ran rails g apn_migrations I don\'t need the gem anymore, I removed it form my gemfile, from my rakefile, deleted from my migrations, from schema.rb and ran rake db:schema:lo

I installed this gem and ran rails g apn_migrations

I don't need the gem anymore, I removed it form my gemfile, from my rakefile, deleted from my migrations, from schema.rb and ran rake db:schema:load

A search on my workspace shows no occurence of the string "apn" anymore, but the tables created by the original开发者_如何学Python rails g apn_migrations still appear, I don't know why?


If you didn't run your migrations again, then your schema.rb file is probably still the same as it was before. I'm assuming that this is a dev environment, and you can just blow away your database and rerun your migrations. If you've already released this to production, then add a new migration which gets rid of your unwanted tables.

0

精彩评论

暂无评论...
验证码 换一张
取 消