Last change
on this file since 29e7641 was
7d74d42,
checked in by OpenGnSys Support Team <soporte-og@…>, 4 years ago
|
#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.
|
-
Property mode set to
100644
|
File size:
366 bytes
|
Line | |
---|
1 | sbin_PROGRAMS = ogserver |
---|
2 | |
---|
3 | AM_CFLAGS = ${LIBDBI_CFLAGS} ${LIBJANSSON_CFLAGS} ${LIBEVENT_CFLAGS} -g -Wall |
---|
4 | |
---|
5 | ogserver_SOURCES= src/ogAdmServer.c \ |
---|
6 | src/cfg.c \ |
---|
7 | src/core.c \ |
---|
8 | src/dbi.c \ |
---|
9 | src/main.c \ |
---|
10 | src/schedule.c \ |
---|
11 | src/schema.c \ |
---|
12 | src/utils.c \ |
---|
13 | src/rest.c \ |
---|
14 | src/client.c \ |
---|
15 | src/json.c \ |
---|
16 | src/ogAdmLib.c \ |
---|
17 | src/wol.c |
---|
Note: See
TracBrowser
for help on using the repository browser.