Skip to content

Commit

Permalink
db migration
Browse files Browse the repository at this point in the history
  • Loading branch information
littleskunk committed Nov 4, 2015
1 parent bcbe882 commit e61b0d9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""empty message
Revision ID: 1c9790acd60
Revision ID: 1c91ee99cac
Revises: 14d4ac0f0f1
Create Date: 2015-11-02 02:58:57.959981
Create Date: 2015-11-04 07:23:19.991912
"""

# revision identifiers, used by Alembic.
revision = '1c9790acd60'
revision = '1c91ee99cac'
down_revision = '14d4ac0f0f1'

from alembic import op
Expand All @@ -26,7 +26,7 @@ def upgrade():
)
op.create_index(op.f('ix_audit_block'), 'audit', ['block'], unique=False)
op.add_column('farmer', sa.Column('reg_time', sa.DateTime(), nullable=True))
op.add_column('farmer', sa.Column('uptime', sa.Integer(), nullable=True))
op.add_column('farmer', sa.Column('uptime', sa.Interval(), nullable=True))
op.create_index(op.f('ix_farmer_last_seen'), 'farmer', ['last_seen'], unique=False)
### end Alembic commands ###

Expand Down

0 comments on commit e61b0d9

Please sign in to comment.