Andrew Dolgov
6426ae559a
dbupdater: unify naming
4 years ago
Andrew Dolgov
c94f1b6ff8
fix some more warnings reported by phpstan
4 years ago
Andrew Dolgov
a1f8322871
further update CLI schema updater layout to make it more readable
6 years ago
Andrew Dolgov
e91223ec7d
update CLI schema updater with newer warnings
6 years ago
Andrew Dolgov
0881d0a00d
some dbupdater improvements; fix schema 136 syntax for mysql
6 years ago
Andrew Dolgov
0d04e21006
updater: rollback on error
6 years ago
Andrew Dolgov
26c226c8e4
dbupdater: catch PDO exception instead of internal errors since we're using those now; log queries while updating
6 years ago
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
6 years ago
Andrew Dolgov
1d92297a96
dbupdater: use PDO
7 years ago
Andrew Dolgov
57a1143c9d
dbupdater: fail if version file missing
8 years ago
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
8 years ago
Andrew Dolgov
977cea1438
actually check for failures properly in the dbupdater
9 years ago
Andrew Dolgov
0630a100d5
revert OO-db access in dbupdater, create DbUpdater() correctly
12 years ago
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
12 years ago
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
12 years ago
Andrew Dolgov
6322ac79a0
remove $link
12 years ago
Andrew Dolgov
b4c47f7e7b
add command-line db schema updater
12 years ago