"""empty message

Revision ID: a2fe811dcdd5
Revises: c0bd1b80ddac
Create Date: 2020-12-03 16:22:31.120689

"""
from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils
from sqlalchemy.dialects import postgresql

# revision identifiers, used by Alembic.
revision = 'a2fe811dcdd5'
down_revision = 'c0bd1b80ddac'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('visualization_models',
    sa.Column('id', postgresql.UUID(as_uuid=True), nullable=False),
    sa.Column('created_at', sa.DateTime(timezone=True), nullable=True),
    sa.Column('updated_at', sa.DateTime(timezone=True), nullable=True),
    sa.Column('resource_id', sa.String(), nullable=True),
    sa.Column('data', sa.JSON(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('visualization_models')
    # ### end Alembic commands ###

c913a6e50db26c471b50e1d99687185b8d4912ff
<mask token>


def downgrade():
    op.drop_table('visualization_models')

<mask token>


def upgrade():
    op.create_table('visualization_models', sa.Column('id', postgresql.UUID
        (as_uuid=True), nullable=False), sa.Column('created_at', sa.
        DateTime(timezone=True), nullable=True), sa.Column('updated_at', sa
        .DateTime(timezone=True), nullable=True), sa.Column('resource_id',
        sa.String(), nullable=True), sa.Column('data', sa.JSON(), nullable=
        True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('visualization_models')

<mask token>
revision = 'a2fe811dcdd5'
down_revision = 'c0bd1b80ddac'
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('visualization_models', sa.Column('id', postgresql.UUID
        (as_uuid=True), nullable=False), sa.Column('created_at', sa.
        DateTime(timezone=True), nullable=True), sa.Column('updated_at', sa
        .DateTime(timezone=True), nullable=True), sa.Column('resource_id',
        sa.String(), nullable=True), sa.Column('data', sa.JSON(), nullable=
        True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('visualization_models')

<mask token>
from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils
from sqlalchemy.dialects import postgresql
revision = 'a2fe811dcdd5'
down_revision = 'c0bd1b80ddac'
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('visualization_models', sa.Column('id', postgresql.UUID
        (as_uuid=True), nullable=False), sa.Column('created_at', sa.
        DateTime(timezone=True), nullable=True), sa.Column('updated_at', sa
        .DateTime(timezone=True), nullable=True), sa.Column('resource_id',
        sa.String(), nullable=True), sa.Column('data', sa.JSON(), nullable=
        True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('visualization_models')

"""empty message

Revision ID: a2fe811dcdd5
Revises: c0bd1b80ddac
Create Date: 2020-12-03 16:22:31.120689

"""
from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils
from sqlalchemy.dialects import postgresql

# revision identifiers, used by Alembic.
revision = 'a2fe811dcdd5'
down_revision = 'c0bd1b80ddac'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('visualization_models',
    sa.Column('id', postgresql.UUID(as_uuid=True), nullable=False),
    sa.Column('created_at', sa.DateTime(timezone=True), nullable=True),
    sa.Column('updated_at', sa.DateTime(timezone=True), nullable=True),
    sa.Column('resource_id', sa.String(), nullable=True),
    sa.Column('data', sa.JSON(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('visualization_models')
    # ### end Alembic commands ###
