25 lines
493 B
Python
25 lines
493 B
Python
|
|
"""add notification images
|
||
|
|
|
||
|
|
Revision ID: b3f4c2d9aa10
|
||
|
|
Revises: 0cc7ce54ecc0
|
||
|
|
Create Date: 2026-04-24 23:20:00.000000
|
||
|
|
|
||
|
|
"""
|
||
|
|
from alembic import op
|
||
|
|
import sqlalchemy as sa
|
||
|
|
|
||
|
|
|
||
|
|
# revision identifiers, used by Alembic.
|
||
|
|
revision = 'b3f4c2d9aa10'
|
||
|
|
down_revision = '0cc7ce54ecc0'
|
||
|
|
branch_labels = None
|
||
|
|
depends_on = None
|
||
|
|
|
||
|
|
|
||
|
|
def upgrade():
|
||
|
|
op.add_column('system_notifications', sa.Column('image_urls', sa.Text(), nullable=True))
|
||
|
|
|
||
|
|
|
||
|
|
def downgrade():
|
||
|
|
op.drop_column('system_notifications', 'image_urls')
|