mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 06:32:11 -05:00
add message_id column to notifications
This commit is contained in:
21
migrations/versions/0413_add_message_id.py
Normal file
21
migrations/versions/0413_add_message_id.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
|
||||
Revision ID: 0413_add_message_id
|
||||
Revises: 412_remove_priority
|
||||
Create Date: 2023-12-11 11:35:22.873930
|
||||
|
||||
"""
|
||||
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
revision = "0413_add_message_id"
|
||||
down_revision = "0412_remove_priority"
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column("notifications", sa.Column("message_id", sa.Text))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column("notifications", "message_id")
|
||||
Reference in New Issue
Block a user