"""empty message Revision ID: 6f7e51f380eb Revises: 20f2c14aa0b6 Create Date: 2021-03-09 09:47:34.679802 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6f7e51f380eb' down_revision = '20f2c14aa0b6' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.create_table('agent', sa.Column('id', sa.Integer(), nullable=False), sa.Column('name', sa.String(length=1000), nullable=True), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) op.create_table('fonction', sa.Column('id', sa.Integer(), nullable=False), sa.Column('name', sa.String(length=1000), nullable=True), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) op.create_table('project', sa.Column('id', sa.Integer(), nullable=False), sa.Column('name', sa.String(length=1000), nullable=True), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) op.create_table('service', sa.Column('id', sa.Integer(), nullable=False), sa.Column('name', sa.String(length=1000), nullable=True), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_table('service') op.drop_table('project') op.drop_table('fonction') op.drop_table('agent') # ### end Alembic commands ###