Monday, May 22, 2017

How to maintain multiple versions of an application?

this is basically an opinion based question but I need some guidance regarding how to approach versioning of features of an existing application.

We have both android and ios apps for an application and the api is written in laravel. Now we are upgrading some features which have effects on old features. For example, in the app you can create groups and select groups interest. Now we want to allow multiple interests for a group. So from one to one relation we are changing to one to many which changes the db structure. So how do I handle the old groups that has been created with one interest? Even if I separate code for version 2, how do I separate the database? How do you generally handle situations like that? I am not looking for exact solution but an general idea about approaching this. Thanks.



via Sayantan Das

Advertisement