ogserver/src
Jose M. Guisado 7d74d42c79 #1042 Update database schema automatically
This patch adds database schema management capabilities to ogServer:

- ogServer now tracks the version of its database schema, if no version
is detected, creates a 'version' table with a single row starting at 0.
- ogServer can upgrade its database schema to a newer version if
detected. (ogServer ships required SQL commands to do so)

If ogServer is unable to upgrade the schema at startup (if needed be) it
*will not* start.

Defines schema update v1 which upgrades database engine tables of
ogServer database (usually named 'ogAdmBD') from myISAM to innoDB.
2021-04-20 11:27:21 +02:00
..
cfg.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
cfg.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
client.c #980 memleak in json ogclient path 2021-02-23 12:35:16 +01:00
client.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
core.c #1021 remove LOG_DEBUG syslog 2021-02-04 13:36:15 +01:00
core.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
dbi.c #915 Avoid duplicate db entries in /create/image 2021-04-06 13:11:50 +02:00
dbi.h #1042 Update database schema automatically 2021-04-20 11:27:21 +02:00
json.c #941 Add og_json_parse_string_copy(...) function 2020-10-06 16:04:14 +02:00
json.h #915 Add /center/add POST method 2021-04-08 11:12:23 +02:00
list.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
main.c #1042 Update database schema automatically 2021-04-20 11:27:21 +02:00
ogAdmLib.c #971 remove unused contieneIP function in ogAdmLib 2020-10-07 11:18:37 +02:00
ogAdmLib.h #988 remove legacy configuration file 2020-10-05 14:49:17 +02:00
ogAdmServer.c #971 Remove sql bottleneck when removing software profiles 2021-04-16 13:31:45 +02:00
ogAdmServer.h #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
rest.c #915 increase maximum API REST response size 2021-04-19 12:01:39 +02:00
rest.h #1022 increase maximum API REST request size 2021-02-04 13:29:24 +01:00
schedule.c schedule: fix daylight saving problem with mktime() 2021-04-12 17:08:00 +02:00
schedule.h #997 Set stale check flag when processing schedule/create 2021-03-11 12:22:36 +01:00
schema.c #1042 Update database schema automatically 2021-04-20 11:27:21 +02:00
utils.c #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
utils.h #971 rename sources folder to src 2020-06-26 20:13:42 +02:00
wol.c #988 remove legacy configuration 2020-10-07 11:17:00 +02:00
wol.h #990 add wol_socket_open() 2020-08-06 13:39:46 +02:00