aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/DB_Upgrade.php
Commit message (Collapse)AuthorAgeFilesLines
* port db update improvements from zapMario Vavti2019-05-031-1/+8
|
* refactor of the DB update system. Updates are now stored individually in ↵zotlabs2018-02-161-74/+60
| | | | Zotlabs/Update/_nnnn.php and are objects; so only the pending updates need to be loaded and executed rather than all historical updates. There is one single number (DB_UPDATE_VERSION) representing the current version and it is EQUAL TO the last known update. A dummy update _1201 was created to address the difference in counting behaviour; it will be executed on the next change of DB_UPDATE_VERSION as well as the next update. The database config values are also loaded from disk on every update immediately before setting the update lock in order to reduce timing conflicts and race conditions.
* turn platform name and std_version into config variableszotlabs2017-07-131-3/+5
|
* issues from hubzilla:#737zotlabs2017-04-261-1/+1
|
* provide compatibility with old-style update systemzotlabs2017-03-251-6/+16
|
* get rid of 'davguest' and allow for project specific DB updates (currently ↵zotlabs2017-03-251-10/+14
| | | | db updates are common between all possible projects/subprojects/forks).
* move db_upgrade to zlibzotlabs2017-03-231-0/+105