"""Add future kline 1min

Revision ID: 9c2dcdde9
Revises: <PASSWORD>
Create Date: 2017-02-23 02:58:32.227072

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '2<PASSWORD>'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.create_table(
        'future_kline_1min',
        sa.Column('timestamp', sa.Integer, primary_key=True),
        sa.Column('open', sa.Float, nullable=False),
        sa.Column('high', sa.Float, nullable=False),
        sa.Column('low', sa.Float, nullable=False),
        sa.Column('close', sa.Float, nullable=False),
        sa.Column('volume', sa.Integer, nullable=False),
        sa.Column('volume_btc', sa.Float, nullable=False)
    )

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

"""Add future kline 1min

Revision ID: 9c2dcdde9
Revises: <PASSWORD>
Create Date: 2017-02-23 02:58:32.227072

"""

# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision = '2<PASSWORD>'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.create_table(
        'future_kline_1min',
        sa.Column('timestamp', sa.Integer, primary_key=True),
        sa.Column('open', sa.Float, nullable=False),
        sa.Column('high', sa.Float, nullable=False),
        sa.Column('low', sa.Float, nullable=False),
        sa.Column('close', sa.Float, nullable=False),
        sa.Column('volume', sa.Integer, nullable=False),
        sa.Column('volume_btc', sa.Float, nullable=False)
    )

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

Add future kline 1min  Revision ID: 9c2dcdde9 Revises: <PASSWORD> Create Date: 2017-02-23 02:58:32.227072 # revision identifiers, used by Alembic.