This website requires JavaScript.
Explore
Help
Register
Sign In
harukin
/
core
Archived
Watch
1
Star
0
Fork
0
You've already forked core
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
24,555
Commits
6
Branches
36
Tags
152
MiB
db8e46184b
Commit Graph
2 Commits
Author
SHA1
Message
Date
Mario Vavti
2047801b85
updates 1201 and 1200 should return success for postgres. notifications: remove class show and session storage entry when we mark all notifications seen
2018-02-19 20:23:13 +01:00
zotlabs
f492f808f4
refactor of the DB update system. Updates are now stored individually in 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.
2018-02-16 12:42:02 -08:00