mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
fix migration
This commit is contained in:
parent
fb1c409574
commit
5ce0b14375
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user