not working shit
This commit is contained in:
30
bot/app/alembic/versions/9d20a4ff1eab_add_active.py
Normal file
30
bot/app/alembic/versions/9d20a4ff1eab_add_active.py
Normal 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 ###
|
||||
Reference in New Issue
Block a user