29 lines
728 B
Python
29 lines
728 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: bfa4b406e22f
|
||
|
Revises: bdc3cd5d7499
|
||
|
Create Date: 2019-10-05 22:36:45.420054
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
from sqlalchemy.dialects import postgresql
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = 'bfa4b406e22f'
|
||
|
down_revision = 'bdc3cd5d7499'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('users', 'password')
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('users', sa.Column('password', postgresql.TIMESTAMP(), autoincrement=False, nullable=False))
|
||
|
# ### end Alembic commands ###
|