mirror of https://git.48k.eu/ogserver
Remove 'is_default' column from 'lives' database table and add column 'priority' of type INT. This new value can store a priority value but the actual design only stores 1 or 0. Update GET oglive/list to use the new 'priority' database value. Add POST oglive/default. Set the database column 'priority' to 1 if the new default exists in the database. Set the others to priority 0. Modify legacy ogliveinfo.json if the new default coresponds to a live not found in the database. Edit the field 'default' of the file's json. |
||
---|---|---|
cfg | ||
extras | ||
src | ||
tests | ||
.gitignore | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
configure.ac |