"""empty message

Revision ID: 5de52fac7794
Revises: f9a972b6a81e
Create Date: 2022-05-05 09:47:42.845415

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5de52fac7794'
down_revision = 'f9a972b6a81e'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('charge',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('job_id', sa.Integer(), nullable=True),
    sa.Column('robot_id', sa.Integer(), nullable=True),
    sa.Column('start__date', sa.DateTime(), nullable=True),
    sa.Column('end_date', sa.DateTime(), nullable=True),
    sa.ForeignKeyConstraint(['job_id'], ['job.id'], ),
    sa.ForeignKeyConstraint(['robot_id'], ['robot.id'], ),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


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

46513ad34908d9be91bae945e00b1680ca7a44f9
<mask token>

<mask token>


def upgrade():
    op.create_table('charge', sa.Column('id', sa.Integer(), nullable=False),
        sa.Column('job_id', sa.Integer(), nullable=True), sa.Column(
        'robot_id', sa.Integer(), nullable=True), sa.Column('start__date',
        sa.DateTime(), nullable=True), sa.Column('end_date', sa.DateTime(),
        nullable=True), sa.ForeignKeyConstraint(['job_id'], ['job.id']), sa
        .ForeignKeyConstraint(['robot_id'], ['robot.id']), sa.
        PrimaryKeyConstraint('id'))


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

<mask token>
revision = '5de52fac7794'
down_revision = 'f9a972b6a81e'
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('charge', sa.Column('id', sa.Integer(), nullable=False),
        sa.Column('job_id', sa.Integer(), nullable=True), sa.Column(
        'robot_id', sa.Integer(), nullable=True), sa.Column('start__date',
        sa.DateTime(), nullable=True), sa.Column('end_date', sa.DateTime(),
        nullable=True), sa.ForeignKeyConstraint(['job_id'], ['job.id']), sa
        .ForeignKeyConstraint(['robot_id'], ['robot.id']), sa.
        PrimaryKeyConstraint('id'))


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

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


def upgrade():
    op.create_table('charge', sa.Column('id', sa.Integer(), nullable=False),
        sa.Column('job_id', sa.Integer(), nullable=True), sa.Column(
        'robot_id', sa.Integer(), nullable=True), sa.Column('start__date',
        sa.DateTime(), nullable=True), sa.Column('end_date', sa.DateTime(),
        nullable=True), sa.ForeignKeyConstraint(['job_id'], ['job.id']), sa
        .ForeignKeyConstraint(['robot_id'], ['robot.id']), sa.
        PrimaryKeyConstraint('id'))


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

"""empty message

Revision ID: 5de52fac7794
Revises: f9a972b6a81e
Create Date: 2022-05-05 09:47:42.845415

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5de52fac7794'
down_revision = 'f9a972b6a81e'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('charge',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('job_id', sa.Integer(), nullable=True),
    sa.Column('robot_id', sa.Integer(), nullable=True),
    sa.Column('start__date', sa.DateTime(), nullable=True),
    sa.Column('end_date', sa.DateTime(), nullable=True),
    sa.ForeignKeyConstraint(['job_id'], ['job.id'], ),
    sa.ForeignKeyConstraint(['robot_id'], ['robot.id'], ),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


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