This commit is contained in:
Kenneth Kehl
2023-08-29 14:54:30 -07:00
parent 19dcd7a48b
commit 1ecb747c6d
588 changed files with 34100 additions and 23589 deletions

View File

@@ -7,8 +7,8 @@ Create Date: 2016-05-18 09:39:22.512042
"""
# revision identifiers, used by Alembic.
revision = '0018_remove_subject_uniqueness'
down_revision = '0017_add_failure_types'
revision = "0018_remove_subject_uniqueness"
down_revision = "0017_add_failure_types"
from alembic import op
import sqlalchemy as sa
@@ -16,11 +16,11 @@ import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.drop_constraint('templates_subject_key', 'templates', type_='unique')
op.drop_constraint("templates_subject_key", "templates", type_="unique")
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.create_unique_constraint('templates_subject_key', 'templates', ['subject'])
op.create_unique_constraint("templates_subject_key", "templates", ["subject"])
### end Alembic commands ###