Organize DB Schema Migration Code and DB Init Checks (#842)
Create Schema Manager and propagate contexts into the DB calls downstream. Add checks at controller startup and database init for correct schema version and schema migration dirty bit being set.
This commit is contained in:
1 parent
c141a050e5
commit
ec6151d174
83 files changed
+2425
-1176
No files matched your search
@@ -0,0 +1,10 @@
|
||||
begin;
|
||||
|
||||
drop view auth_token_account cascade;
|
||||
drop table auth_token cascade;
|
||||
|
||||
drop function update_last_access_time cascade;
|
||||
drop function immutable_auth_token_columns cascade;
|
||||
drop function expire_time_not_older_than_token cascade;
|
||||
|
||||
commit;
|
||||
Reference in new issue
Block a user