mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
29 lines
652 B
Python
29 lines
652 B
Python
"""empty message
|
|
|
|
Revision ID: f16b80c57038
|
|
Revises: 685dff1cc01b
|
|
Create Date: 2019-10-09 09:34:37.616747
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'f16b80c57038'
|
|
down_revision = '685dff1cc01b'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('users', sa.Column('is_dark', sa.Boolean(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('users', 'is_dark')
|
|
# ### end Alembic commands ###
|