Re: [Rails] Is there a way to prevent an accidental migration from newer version of app to older one?

2013-03-03 Thread Colin Law
On 3 March 2013 01:51, Anton Kuzmin wrote: > Imagine a rails app that has two versions that developers need to support: > 1.0 and 2.0. There are 2 database schemas: app-1, app-2. > > After fixing a bunch of very important bugs in production (1.0), some junior > developer named Bob switches the bra

[Rails] Is there a way to prevent an accidental migration from newer version of app to older one?

2013-03-03 Thread Anton Kuzmin
Imagine a rails app that has two versions that developers need to support: 1.0 and 2.0. There are 2 database schemas: app-1, app-2. After fixing a bunch of very important bugs in production (1.0), some junior developer named Bob switches the branch to 2.0 to implement a few features but someh