-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy path15c0fa797121_.py
More file actions
33 lines (25 loc) · 763 Bytes
/
15c0fa797121_.py
File metadata and controls
33 lines (25 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
"""empty message
Revision ID: 15c0fa797121
Revises:
Create Date: 2020-02-09 12:20:12.239611
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '15c0fa797121'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('users',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('email', sa.Text(), nullable=True),
sa.Column('password', sa.Text(), nullable=True),
sa.PrimaryKeyConstraint('id')
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('users')
# ### end Alembic commands ###