mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
30 lines
803 B
Python
30 lines
803 B
Python
"""add actions
|
|
|
|
Revision ID: 9f25ff8f3cbd
|
|
Revises: d11fbd083a55
|
|
Create Date: 2025-06-09 20:16:19.418495
|
|
|
|
"""
|
|
|
|
from typing import Sequence, Union
|
|
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = "9f25ff8f3cbd"
|
|
down_revision: Union[str, None] = "d11fbd083a55"
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column("integrations", sa.Column("action", sa.String(), nullable=False))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column("integrations", "action")
|
|
# ### end Alembic commands ###
|