Hacker News new | ask | show | jobs
by brightball 3945 days ago
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.