mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-07 06:28:25 -04:00
add new key_type table
* single-column static data table that currently contains two types: 'normal' and 'team' * key_type foreign-keyed from api_keys - must be not null - existing rows set to 'normal' * key_type foreign-keyed from notifications - nullable - existing rows set to null * api_key foreign-keyed from notifications - nullable - existing rows set to null
This commit is contained in:
@@ -47,4 +47,4 @@ def downgrade():
|
||||
op.get_bind()
|
||||
op.execute('DROP TYPE notify_status_type')
|
||||
op.alter_column('notifications', 'status', nullable=False)
|
||||
### end Alembic commands ###
|
||||
### end Alembic commands ###
|
||||
|
||||
Reference in New Issue
Block a user