Fix missing fleet column into table boards

Change-Id: I0f25eeba752c927aee5194aa2179931fd29cb389
This commit is contained in:
Fabio Verboso 2018-09-25 14:53:49 +02:00
parent 607e17a5b8
commit 51705e3d28
1 changed files with 3 additions and 0 deletions

View File

@ -16,9 +16,12 @@ revision = '9c5c34dfd9f1'
down_revision = 'b578199e4e64'
from alembic import op
import sqlalchemy as sa
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('boards', sa.Column('fleet', sa.String(length=36),
nullable=True))
op.create_foreign_key(None, 'boards', 'fleets', ['fleet'], ['uuid'])
# ### end Alembic commands ###