-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path91a98db2aa76_.py
More file actions
37 lines (29 loc) · 1 KB
/
91a98db2aa76_.py
File metadata and controls
37 lines (29 loc) · 1 KB
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
34
35
36
37
"""empty message
Revision ID: 91a98db2aa76
Revises: 05b53be3df1a
Create Date: 2021-10-26 00:16:55.334374
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '91a98db2aa76'
down_revision = '05b53be3df1a'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('insinfo',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('name', sa.Text(), nullable=True),
sa.Column('phone', sa.Text(), nullable=True),
sa.Column('policynum', sa.Text(), nullable=True),
sa.Column('userid', sa.Integer(), nullable=True),
sa.Column('update_time', sa.DateTime(), nullable=True),
sa.Column('date_created', sa.DateTime(timezone=True), nullable=True),
sa.PrimaryKeyConstraint('id')
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('insinfo')
# ### end Alembic commands ###