jbroadway / elefant

Elefant, the refreshingly simple PHP CMS and web framework.
http://www.elefantcms.com
MIT License
208 stars 39 forks source link

Upgrade sample script needs to apply multiple versions at once #278

Closed jbroadway closed 8 years ago

jbroadway commented 8 years ago

The sample upgrade script in the documentation needs to be made to apply not just the latest update but all updates between the previously installed version and the current one. If a user hasn't upgraded in some time, multiple schema updates could cause upgrade errors.

jbroadway commented 8 years ago

As a follow-up, this should then be updated in all existing apps that use it, as well as the generated upgrade script from the ./elefant crud-app output.

jbroadway commented 8 years ago

Fixed in https://github.com/jbroadway/elefant/commit/df77d9f35e8dab6bbbe6b1767d2e557d97aadb7c