News for hackers. Stuff that matters.

ron77

Thanks, I'll try it!

Sure, I don't mean a fire&forget thing but to review migration commands. But diffs should be fine too - they'll actually require a programmer to review it, even accidentally when pasting the output to the migration script.

Ask HN: (What) do you use (for) automatic DB migrations in PHP?

So I finally wanted to organize things better and handle DB migrations in more automatic way. I did some research and surprisingly didn't find what I was expecting to find.I'd like a tool which can create migration files automatically basing on actual DB tables. Let it be aware of previous DB schema, examine new DB schema, create diffs and put them in a migration file.I found many great...

( Read More... | 2 comments | 2 points | on HN )