News for hackers. Stuff that matters.
Re:Show HN: Stellar – Git for PostreSQL and MySQL by michaelmior on Friday August 22, 2014 @08:41AM (#8211814)
Suppose I'm working on a new feature branch and I run a bunch of migrations and add new data. Then I need to go make a bug fix on the master branch. Using Stellar, I could just take a snapshot before starting my feature branch, restore the DB state, do my bug fix, then go back to the DB as it was in my feature branch. I haven't tried Stellar yet, but this seems like a scenario where it would be useful. (And definitely not supported through Postgres transactions.)
Re:Show HN: Stellar – Git for PostreSQL and MySQL by masklinn on Friday August 22, 2014 @09:25AM (#8211964)
You could use schemas or multiple databases for that.
Re:Show HN: Stellar – Git for PostreSQL and MySQL by michaelmior on Friday August 22, 2014 @10:38AM (#8212263)
True. Although then you would have to worry about changing your DB configuration whenever you change branches. You'd also have to make a copy of your database manually any time you want to start modifying it. Stellar seems like an easier solution.