Commit Graph

113 Commits

Author SHA1 Message Date
Martijn van der Ven
ca46f4c9ac Enable database upgrades to run 2020-05-23 17:12:30 +02:00
Ajay Ramachandran
8638698d61 Added schema upgrades for both DBs 2020-05-03 13:25:45 -04:00
Ajay Ramachandran
d4328f4d54 Change the version code to be the last run upgrade file. 2020-05-03 12:08:07 -04:00
Ajay Ramachandran
8eecffd3d5 Changed from version table to a key-value config table. 2020-05-03 12:01:49 -04:00
Ajay Ramachandran
e303405ee0 Check before mkdir 2020-04-30 00:31:42 -04:00
Ajay Ramachandran
5c0062d9df Make directories if needed for the databases 2020-04-29 22:21:15 -04:00
Ajay Ramachandran
b5fcdea62f Don't upgrade if read only 2020-04-29 19:40:17 -04:00
Ajay Ramachandran
0eec924c02 Made all updates required be performed at once. 2020-04-29 18:31:19 -04:00
Ajay Ramachandran
d767f2ff6b Added schema upgrade system and started on new vote type 2020-04-27 23:01:51 -04:00
Joe-Dowd
819f338c68 Ensured anything in master is implemented 2020-04-02 18:53:02 +01:00
Joe-Dowd
5369d48eae Added testing 2020-04-01 21:04:04 +01:00
Joe-Dowd
f1ee7bb430 Removed console.log 2020-03-20 21:50:57 +00:00
Joe-Dowd
5c3d18b0e2 Initial refactor (routes and utils to respective folders) 2020-03-20 20:13:55 +00:00