mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
31 lines
844 B
Python
31 lines
844 B
Python
"""Org Scripts
|
|
|
|
Revision ID: eb10d15465b3
|
|
Revises: a5afa69dd917
|
|
Create Date: 2025-06-08 18:12:18.853988
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa # noqa: F401
|
|
import sqlmodel # noqa: F401
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = 'eb10d15465b3'
|
|
down_revision: Union[str, None] = 'a5afa69dd917'
|
|
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('organization', sa.Column('scripts', sa.JSON(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('organization', 'scripts')
|
|
# ### end Alembic commands ###
|