not working shit

This commit is contained in:
2023-11-11 15:15:03 +03:00
parent c4010e6ec9
commit fec9ce0bca
16 changed files with 480 additions and 45 deletions

View File

@ -0,0 +1,30 @@
"""add active
Revision ID: 9d20a4ff1eab
Revises:
Create Date: 2023-10-29 12:09:17.958616
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '9d20a4ff1eab'
down_revision = None
branch_labels = None
depends_on = None
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('queue', sa.Column('active', sa.Boolean(), nullable=True))
op.add_column('queueuser', sa.Column('active', sa.Boolean(), nullable=True))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('queueuser', 'active')
op.drop_column('queue', 'active')
# ### end Alembic commands ###