Skip to content

Commit

Permalink
update migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Aug 27, 2018
1 parent 6c25f54 commit d3e83b0
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""add_json_column_to_annotation_model.py
Revision ID: 0a9ffc0777c9
Revises: 1a1d627ebd8e
Create Date: 2018-08-27 14:02:00.101734
"""

# revision identifiers, used by Alembic.
revision = '0a9ffc0777c9'
down_revision = '1a1d627ebd8e'

from alembic import op
import sqlalchemy as sa


def upgrade():
op.add_column('annotation', sa.Column('annotation_metadata', sa.JSON(), nullable=True))

0 comments on commit d3e83b0

Please sign in to comment.