Approach
Create a command that when run takes into account the current version of the app and runs incremental upgrades.
php artisan stoic-money:update
Checks version and we have a script that loops until completely updated.
If we are on version 1.0 and going to 1.1 then we run 1 update.
If we are on version 1.0 and going to 1.9 then we run every update in between.
As Stoic Money progresses, an update script will be essential. This will allow users to update their app without overwriting their customizations.
What We Need to Account For
Approach Create a command that when run takes into account the current version of the app and runs incremental upgrades.
Checks version and we have a script that loops until completely updated. If we are on version 1.0 and going to 1.1 then we run 1 update. If we are on version 1.0 and going to 1.9 then we run every update in between.