switched to modern serial method for tables

This commit is contained in:
2020-05-14 14:04:02 +00:00
parent 6b673699cc
commit 231705e294
2 changed files with 48 additions and 46 deletions

View File

@@ -1,7 +1,8 @@
PRIORITY - ALWAYS Lowest level stuff first
=-=-=-=-
todo: add query fail logging to datalist just like done with picklist so in production can catch mysterious problems more easily
todo: switch to Identity column from serial column as it's the proper way to do autoid in postgres now
todo: AUTO ID GENERATOR
change to a dedicated spot in global rather than inferring as it is not right practically for reasons
Get the auto-id most recent values at boot time
@@ -11,6 +12,7 @@ todo: AUTO ID GENERATOR
Instead have central location for storing serial numbers (perhaps one per table type for concurrency efficieny? Though it's a pretty fast operation.)
Do not put in shared object though, i.e. global settings or something because it's going to be it's own thing and require efficient access.
Maybe this is a case for a stored procedure?
todo: change trial detection route that client first hits
- make it a different controller and renamed to something like server ping or "hello" or something friendly and useful
- maybe the route that gets Notifications