fossasia/open-event-orga-server

View on GitHub
migrations/versions/4525c3f044c3_.py

Summary

Maintainability
C
7 hrs
Test Coverage
"""empty message

Revision ID: 4525c3f044c3
Revises: d469443aed74
Create Date: 2016-08-08 18:39:16.343588

"""

# revision identifiers, used by Alembic.
revision = '4525c3f044c3'
down_revision = 'd469443aed74'

from alembic import op
import sqlalchemy as sa
import sqlalchemy_utils


def upgrade():
    ### commands auto generated by Alembic - please adjust! ###
    op.create_table('ticket_fees',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('currency', sa.String(), nullable=True),
    sa.Column('service_fee', sa.Float(), nullable=True),
    sa.Column('maximum_fee', sa.Float(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    ### end Alembic commands ###


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