So I had some issues earlier on with migrations in rails. My initial thought was that the ruby file was run each time, recreating the tables and therefore using the schema as it was declared in the ruby file. I understand now that this isn't the case and it makes sense, otherwise you're losing all of your sample data.
So, each time I want to add/edit to my database, I need to create a new migration? Right now I want to add a column to a table, so I'll just use the migration command and go from there. Is that right?







Bookmarks