c30f0a53f7
Change-Id: Ia58c160b281ab928cd66815b869ad519f7c805a4 Implements: blueprint Schema redesign
29 lines
654 B
Python
Executable File
29 lines
654 B
Python
Executable File
"""added architecture to cloud
|
|
|
|
Revision ID: 2d1f3e3cd357
|
|
Revises: 4a425a7aff50
|
|
Create Date: 2014-03-07 12:11:20.403933
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '2d1f3e3cd357'
|
|
down_revision = '4a425a7aff50'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
def upgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column(
|
|
'cloud',
|
|
sa.Column('architecture', sa.String(length=40), nullable=True))
|
|
### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('cloud', 'architecture')
|
|
### end Alembic commands ###
|