26 lines
626 B
Python
26 lines
626 B
Python
"""Add telephone number
|
|
|
|
Revision ID: 3243c3538fc
|
|
Revises: 2d696203e56
|
|
Create Date: 2015-06-04 18:39:54.895177
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '3243c3538fc'
|
|
down_revision = '2d696203e56'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
def upgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('location', sa.Column('telephone', sa.String(length=20), nullable=True))
|
|
### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('location', 'telephone')
|
|
### end Alembic commands ###
|