"""Initial migration.

Revision ID: cf751138847c
Revises: 
Create Date: 2020-09-26 22:48:15.414272

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'cf751138847c'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('pay_info',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('currency', sa.String(length=3), nullable=True),
    sa.Column('amount', sa.Float(precision=6), nullable=True),
    sa.Column('desctiption', sa.Text(length=500), nullable=True),
    sa.Column('shop_id', sa.Text(length=500), nullable=True),
    sa.Column('shop_order_id', sa.Text(length=500), nullable=True),
    sa.Column('sign', sa.String(length=200), nullable=True),
    sa.Column('payway', sa.String(length=20), nullable=True),
    sa.Column('secret_key', sa.String(length=20), nullable=True),
    sa.Column('created_date', sa.DateTime(timezone=True), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('pay_info')
    # ### end Alembic commands ###

0a7f10e2a4ae55742556a3e2f3747498eea2b0d9
<mask token>


def downgrade():
    op.drop_table('pay_info')

<mask token>


def upgrade():
    op.create_table('pay_info', sa.Column('id', sa.Integer(), nullable=
        False), sa.Column('currency', sa.String(length=3), nullable=True),
        sa.Column('amount', sa.Float(precision=6), nullable=True), sa.
        Column('desctiption', sa.Text(length=500), nullable=True), sa.
        Column('shop_id', sa.Text(length=500), nullable=True), sa.Column(
        'shop_order_id', sa.Text(length=500), nullable=True), sa.Column(
        'sign', sa.String(length=200), nullable=True), sa.Column('payway',
        sa.String(length=20), nullable=True), sa.Column('secret_key', sa.
        String(length=20), nullable=True), sa.Column('created_date', sa.
        DateTime(timezone=True), nullable=True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('pay_info')

<mask token>
revision = 'cf751138847c'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('pay_info', sa.Column('id', sa.Integer(), nullable=
        False), sa.Column('currency', sa.String(length=3), nullable=True),
        sa.Column('amount', sa.Float(precision=6), nullable=True), sa.
        Column('desctiption', sa.Text(length=500), nullable=True), sa.
        Column('shop_id', sa.Text(length=500), nullable=True), sa.Column(
        'shop_order_id', sa.Text(length=500), nullable=True), sa.Column(
        'sign', sa.String(length=200), nullable=True), sa.Column('payway',
        sa.String(length=20), nullable=True), sa.Column('secret_key', sa.
        String(length=20), nullable=True), sa.Column('created_date', sa.
        DateTime(timezone=True), nullable=True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('pay_info')

<mask token>
from alembic import op
import sqlalchemy as sa
revision = 'cf751138847c'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    op.create_table('pay_info', sa.Column('id', sa.Integer(), nullable=
        False), sa.Column('currency', sa.String(length=3), nullable=True),
        sa.Column('amount', sa.Float(precision=6), nullable=True), sa.
        Column('desctiption', sa.Text(length=500), nullable=True), sa.
        Column('shop_id', sa.Text(length=500), nullable=True), sa.Column(
        'shop_order_id', sa.Text(length=500), nullable=True), sa.Column(
        'sign', sa.String(length=200), nullable=True), sa.Column('payway',
        sa.String(length=20), nullable=True), sa.Column('secret_key', sa.
        String(length=20), nullable=True), sa.Column('created_date', sa.
        DateTime(timezone=True), nullable=True), sa.PrimaryKeyConstraint('id'))


def downgrade():
    op.drop_table('pay_info')

"""Initial migration.

Revision ID: cf751138847c
Revises: 
Create Date: 2020-09-26 22:48:15.414272

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'cf751138847c'
down_revision = None
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('pay_info',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('currency', sa.String(length=3), nullable=True),
    sa.Column('amount', sa.Float(precision=6), nullable=True),
    sa.Column('desctiption', sa.Text(length=500), nullable=True),
    sa.Column('shop_id', sa.Text(length=500), nullable=True),
    sa.Column('shop_order_id', sa.Text(length=500), nullable=True),
    sa.Column('sign', sa.String(length=200), nullable=True),
    sa.Column('payway', sa.String(length=20), nullable=True),
    sa.Column('secret_key', sa.String(length=20), nullable=True),
    sa.Column('created_date', sa.DateTime(timezone=True), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('pay_info')
    # ### end Alembic commands ###
