fix migration

This commit is contained in:
Jakub Miazek 2023-10-20 12:14:35 +02:00
parent fb1c409574
commit 5ce0b14375

View File

@ -24,8 +24,8 @@ def upgrade():
sa.Column('first_name', sa.String(), nullable=False),
sa.Column('last_name', sa.String(), nullable=False),
sa.Column('password', sa.LargeBinary(), nullable=False),
sa.PrimaryKeyConstraint('uuid'),
sa.UniqueConstraint('uuid')
sa.PrimaryKeyConstraint('id'),
sa.UniqueConstraint('id')
)
op.create_unique_constraint(None, 'nonsense', ['name'], schema='happy_hog')
op.create_unique_constraint(None, 'stuff', ['name'], schema='happy_hog')