summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-05 13:33:58 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-10 16:33:49 +0100
commit6a63218f85d80919c8bab87141f9f4c9c3acdfdf (patch)
treeb0626321308c88a4b024315fcd1e7e99a139b8b6 /INSTALL
parente3188191d9da0e49dd156ea70f59b92776216e8c (diff)
rest: add POST oglive/default
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.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions