<reponame>EliRibble/minstrel<gh_stars>0
"""move tracks to storage

Revision ID: dbe3baed0180
Revises: <PASSWORD>
Create Date: 2017-09-22 21:37:52.703676

"""

# revision identifiers, used by Alembic.
revision = 'dbe<PASSWORD>'
down_revision = 'ca<PASSWORD>'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa
import sqlalchemy.dialects.postgresql

def upgrade():
    op.execute("UPDATE track_location SET store = (SELECT uuid FROM track_storage)")


def downgrade():
    pass

"""move tracks to storage

Revision ID: dbe3baed0180
Revises: <PASSWORD>
Create Date: 2017-09-22 21:37:52.703676

"""

# revision identifiers, used by Alembic.
revision = 'dbe<PASSWORD>'
down_revision = 'ca<PASSWORD>'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa
import sqlalchemy.dialects.postgresql

def upgrade():
    op.execute("UPDATE track_location SET store = (SELECT uuid FROM track_storage)")


def downgrade():
    pass
move tracks to storage  Revision ID: dbe3baed0180 Revises: <PASSWORD> Create Date: 2017-09-22 21:37:52.703676 # revision identifiers, used by Alembic.