
Create, edit, update and delete cloud providers. Lots of new functions and hard to explaing them all User create on provider. Change-Id: I8d45ea14b2f62551500acf809cdb5190119548bb
29 lines
835 B
Python
29 lines
835 B
Python
"""empty message
|
|
|
|
Revision ID: ad4bacc19155
|
|
Revises: 56c33e417a5c
|
|
Create Date: 2016-08-28 16:08:23.350311
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'ad4bacc19155'
|
|
down_revision = '56c33e417a5c'
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
from sqlalchemy.dialects import mysql
|
|
|
|
def upgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('providers', sa.Column('x_subject_token', sa.Text(length=255), nullable=True))
|
|
op.drop_column('providers', 'x_session_token')
|
|
### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('providers', sa.Column('x_session_token', mysql.TEXT(collation=u'utf8_bin'), nullable=True))
|
|
op.drop_column('providers', 'x_subject_token')
|
|
### end Alembic commands ###
|