mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
36 lines
881 B
Python
36 lines
881 B
Python
"""empty message
|
|
|
|
Revision ID: ad5483cb7f3b
|
|
Revises: 02fcf09d9085
|
|
Create Date: 2020-02-19 11:59:09.948767
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'ad5483cb7f3b'
|
|
down_revision = '02fcf09d9085'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.create_table('user',
|
|
sa.Column('id', sa.Integer(), nullable=False),
|
|
sa.Column('uid', sa.String(), nullable=True),
|
|
sa.Column('email_address', sa.String(), nullable=True),
|
|
sa.Column('display_name', sa.String(), nullable=True),
|
|
sa.PrimaryKeyConstraint('id'),
|
|
sa.UniqueConstraint('uid')
|
|
)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_table('user')
|
|
# ### end Alembic commands ###
|