forked from kompetenzinventar/ki-backend
implement login
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
"""Initial migration
|
||||
|
||||
Revision ID: 47ba0a9cf065
|
||||
Revision ID: 575a8924eb16
|
||||
Revises:
|
||||
Create Date: 2021-06-12 12:06:29.946450
|
||||
Create Date: 2021-06-12 13:18:24.903142
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
@ -10,7 +10,7 @@ import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '47ba0a9cf065'
|
||||
revision = '575a8924eb16'
|
||||
down_revision = None
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
@ -44,6 +44,7 @@ def upgrade():
|
||||
sa.Column('updated', sa.DateTime(), nullable=False),
|
||||
sa.Column('auth_id', sa.String(length=50), nullable=False),
|
||||
sa.PrimaryKeyConstraint('id'),
|
||||
sa.UniqueConstraint('auth_id'),
|
||||
sa.UniqueConstraint('nickname')
|
||||
)
|
||||
op.create_table('address',
|
Reference in New Issue
Block a user