update to registrations

This commit is contained in:
Gardient
2021-09-22 20:12:06 +03:00
parent 99b090462e
commit 80e4ddf1a8
4 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ def upgrade():
op.create_table('registration',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('name', sa.String(length=255), nullable=False),
sa.Column('routing_key', sa.String(length=255), nullable=False),
sa.Column('token', sa.String(length=255), nullable=False),
sa.PrimaryKeyConstraint('id'),
sa.UniqueConstraint('name')
)