Re:PostgreSQL Migration Tool
by brightball on Monday August 31, 2015 @11:52PM
(#10150635)
Honestly the only time I use down migrations in Rails is before I commit and push the migration. So I'll migrate up, experiment, realize I need to change something, migrate down, make my change, then migrate back up.
I'll keep doing that while I work through the problem until the complete migration is ready with the solution I was working on. Once it's actually pushed up, I never expect to use the "down" migration again though.
I'll keep doing that while I work through the problem until the complete migration is ready with the solution I was working on. Once it's actually pushed up, I never expect to use the "down" migration again though.