mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
34 lines
828 B
Python
34 lines
828 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 421ba4373e50
|
||
|
Revises: 5ba6786a847e
|
||
|
Create Date: 2020-05-14 08:35:47.367125
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '421ba4373e50'
|
||
|
down_revision = '5ba6786a847e'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.create_table('notification_email_data',
|
||
|
sa.Column('id', sa.Integer(), nullable=False),
|
||
|
sa.Column('job_id', sa.Integer(), nullable=True),
|
||
|
sa.ForeignKeyConstraint(['job_id'], ['jobs.id'], ),
|
||
|
sa.PrimaryKeyConstraint('id')
|
||
|
)
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_table('notification_email_data')
|
||
|
# ### end Alembic commands ###
|