Define session database schema (#322)

* Define session database schema

* Update comments

* Add insert trigger for session state

* Add canceling state and update foreign keys to 'set null' on delete
This commit is contained in:
Michael Gaffney authored and GitHub committed 2020-09-03 10:49:27 -04:00
1 parent 37e56ab46b
commit 4ae3a52056
3 files changed
+564

No files matched your search

@@ -0,0 +1,9 @@
begin;
drop table session_state;
drop table session_state_enm;
drop table session;
drop table session_termination_reason_enm;
drop function insert_session_state;
commit;