Skip to content

Commit

Permalink
added a password column to the user table
Browse files Browse the repository at this point in the history
  • Loading branch information
neovintage committed Nov 30, 2015
1 parent 00414d9 commit 4f1a0ef
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""add password column to user
Revision ID: 561833c1c74b
Revises: 40e67319e3a9
Create Date: 2015-11-30 06:51:25.872557
"""

# revision identifiers, used by Alembic.
revision = '561833c1c74b'
down_revision = '40e67319e3a9'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade():
op.add_column('user', sa.Column('password', sa.String(255)))


def downgrade():
op.drop_column('user', 'password')

0 comments on commit 4f1a0ef

Please sign in to comment.