API & Client: display map image for activities w/ gpx on dashboard
This commit is contained in:
28
mpwo_api/migrations/versions/9f8c9c37da44_.py
Normal file
28
mpwo_api/migrations/versions/9f8c9c37da44_.py
Normal file
@ -0,0 +1,28 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 9f8c9c37da44
|
||||
Revises: 5a42db64e872
|
||||
Create Date: 2018-05-30 12:48:11.714627
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '9f8c9c37da44'
|
||||
down_revision = '5a42db64e872'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('activities', sa.Column('map_id', sa.String(length=50), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('activities', 'map_id')
|
||||
# ### end Alembic commands ###
|
Reference in New Issue
Block a user