mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
31 lines
842 B
Python
31 lines
842 B
Python
"""empty message
|
|
|
|
Revision ID: 099037c4aa06
|
|
Revises: 66253783654f
|
|
Create Date: 2020-04-27 09:17:15.039728
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '099037c4aa06'
|
|
down_revision = '66253783654f'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('users', sa.Column('last_seen', sa.DateTime(), nullable=True))
|
|
op.add_column('users', sa.Column('setting_site_job_status_notifications', sa.String(length=16), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('users', 'setting_site_job_status_notifications')
|
|
op.drop_column('users', 'last_seen')
|
|
# ### end Alembic commands ###
|