koloa wrote:
ok, so i think was incorrectly using rake migrate. for every new table i created, i created a new migration and rake migrated it. nuts.
Shrug, that's pretty much what I do.
and now id like to create a new profiles table, do i script/generate migrations profiles? and then in self.up do add_column somecolumnname ?
afterwards type rake migrate?
Pretty much, apart from the fact that you don't actually create a "new" table, merely change the existing one. And I'd probably name the migration akin to AddStuffToProfiles, but each to his own.