added contact name to the vendor table
This commit is contained in:
parent
8dd53796a9
commit
aa5bfccb1f
26
alembic/versions/1d6540fc6279_added_vendor_contact.py
Normal file
26
alembic/versions/1d6540fc6279_added_vendor_contact.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
"""added vendor contact name
|
||||||
|
|
||||||
|
Revision ID: 1d6540fc6279
|
||||||
|
Revises: 3790aed42558
|
||||||
|
Create Date: 2013-10-31 01:30:12.489026
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '1d6540fc6279'
|
||||||
|
down_revision = '3790aed42558'
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.add_column('vendor', sa.Column('contact_name', sa.String(length=120), nullable=True))
|
||||||
|
### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.drop_column('vendor', 'contact_name')
|
||||||
|
### end Alembic commands ###
|
Loading…
x
Reference in New Issue
Block a user