added alemic migration for relationship
This commit is contained in:
parent
dfe5645c79
commit
fce289c77e
26
alembic/versions/4f6f77184d45_really_added_user_cl.py
Normal file
26
alembic/versions/4f6f77184d45_really_added_user_cl.py
Normal file
@ -0,0 +1,26 @@
|
||||
"""really added user - cloud relationship
|
||||
|
||||
Revision ID: 4f6f77184d45
|
||||
Revises: 4288db006e5
|
||||
Create Date: 2013-10-31 21:09:16.469966
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4f6f77184d45'
|
||||
down_revision = '4288db006e5'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('cloud', sa.Column('user_id', sa.Integer(), nullable=True))
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('cloud', 'user_id')
|
||||
### end Alembic commands ###
|
Loading…
x
Reference in New Issue
Block a user