"""UUID

Revision ID: 5a39f69972e0
Revises: bda80e67d310
Create Date: 2020-03-16 20:57:11.562534

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5a39f69972e0'
down_revision = 'bda80e67d310'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('todos',
    sa.Column('id', sa.String(), nullable=False),
    sa.Column('body', sa.Text(), nullable=False),
    sa.Column('updated_at', sa.TIMESTAMP(), server_default=sa.text('now()'), nullable=True),
    sa.Column('created_at', sa.TIMESTAMP(), server_default=sa.text('now()'), nullable=True),
    sa.Column('complete', sa.Boolean(), nullable=True),
    sa.PrimaryKeyConstraint('id', name=op.f('pk_todos'))
    )
    op.create_index('todo_index', 'todos', ['body'], unique=False, mysql_length=255)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('todo_index', table_name='todos')
    op.drop_table('todos')
    # ### end Alembic commands ###

5bc283fc04ec6a5dbcc40f10ee01452e70a31f4e
<mask token>

<mask token>


def upgrade():
    op.create_table('todos', sa.Column('id', sa.String(), nullable=False),
        sa.Column('body', sa.Text(), nullable=False), sa.Column(
        'updated_at', sa.TIMESTAMP(), server_default=sa.text('now()'),
        nullable=True), sa.Column('created_at', sa.TIMESTAMP(),
        server_default=sa.text('now()'), nullable=True), sa.Column(
        'complete', sa.Boolean(), nullable=True), sa.PrimaryKeyConstraint(
        'id', name=op.f('pk_todos')))
    op.create_index('todo_index', 'todos', ['body'], unique=False,
        mysql_length=255)


def downgrade():
    op.drop_index('todo_index', table_name='todos')
    op.drop_table('todos')

<mask token>
revision = '5a39f69972e0'
down_revision = 'bda80e67d310'
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('todos', sa.Column('id', sa.String(), nullable=False),
        sa.Column('body', sa.Text(), nullable=False), sa.Column(
        'updated_at', sa.TIMESTAMP(), server_default=sa.text('now()'),
        nullable=True), sa.Column('created_at', sa.TIMESTAMP(),
        server_default=sa.text('now()'), nullable=True), sa.Column(
        'complete', sa.Boolean(), nullable=True), sa.PrimaryKeyConstraint(
        'id', name=op.f('pk_todos')))
    op.create_index('todo_index', 'todos', ['body'], unique=False,
        mysql_length=255)


def downgrade():
    op.drop_index('todo_index', table_name='todos')
    op.drop_table('todos')

<mask token>
from alembic import op
import sqlalchemy as sa
revision = '5a39f69972e0'
down_revision = 'bda80e67d310'
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('todos', sa.Column('id', sa.String(), nullable=False),
        sa.Column('body', sa.Text(), nullable=False), sa.Column(
        'updated_at', sa.TIMESTAMP(), server_default=sa.text('now()'),
        nullable=True), sa.Column('created_at', sa.TIMESTAMP(),
        server_default=sa.text('now()'), nullable=True), sa.Column(
        'complete', sa.Boolean(), nullable=True), sa.PrimaryKeyConstraint(
        'id', name=op.f('pk_todos')))
    op.create_index('todo_index', 'todos', ['body'], unique=False,
        mysql_length=255)


def downgrade():
    op.drop_index('todo_index', table_name='todos')
    op.drop_table('todos')

"""UUID

Revision ID: 5a39f69972e0
Revises: bda80e67d310
Create Date: 2020-03-16 20:57:11.562534

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5a39f69972e0'
down_revision = 'bda80e67d310'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('todos',
    sa.Column('id', sa.String(), nullable=False),
    sa.Column('body', sa.Text(), nullable=False),
    sa.Column('updated_at', sa.TIMESTAMP(), server_default=sa.text('now()'), nullable=True),
    sa.Column('created_at', sa.TIMESTAMP(), server_default=sa.text('now()'), nullable=True),
    sa.Column('complete', sa.Boolean(), nullable=True),
    sa.PrimaryKeyConstraint('id', name=op.f('pk_todos'))
    )
    op.create_index('todo_index', 'todos', ['body'], unique=False, mysql_length=255)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('todo_index', table_name='todos')
    op.drop_table('todos')
    # ### end Alembic commands ###
