1 thought on “Can I just add a column in pgadmin postgres or do I need to change the migrate file and rails db:migrate”

  1. Rails is aware of the schema of your app and does magic in the models accordingly. You could get tricky with the code if you want to do it in pgadmin, but unless you have a really good reason, I’d recommend creating a migration.

    You don’t have to change your migration files (honestly wouldn’t recommend it if your code is already in production), you can just add a new one.


Leave a Comment