Commit b719122f authored by Sofia Papagiannaki's avatar Sofia Papagiannaki Committed by Christos Stavrakakis
Browse files

pithos: Database migration for "available" attribute.

parent 58a80472
"""Add columns for snapshots
Revision ID: e6edec1b499
Revises: 4451e165da19
Create Date: 2014-01-27 15:33:21.058484
# revision identifiers, used by Alembic.
revision = 'e6edec1b499'
down_revision = '4451e165da19'
from alembic import op
import sqlalchemy as sa
def upgrade():
sa.Column('available', sa.Boolean, nullable=False,
sa.DECIMAL(precision=16, scale=6)))
def downgrade():
op.drop_column('versions', 'available')
op.drop_column('versions', 'map_check_timestamp')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment