mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
29 lines
709 B
Python
29 lines
709 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 44e138485931
|
||
|
Revises: 9e2ac631efb0
|
||
|
Create Date: 2018-07-28 14:45:28.879331
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '44e138485931'
|
||
|
down_revision = '9e2ac631efb0'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('package_release', sa.Column('commit_hash', sa.String(length=41), nullable=True, server_default=None))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('package_release', 'commit_hash')
|
||
|
# ### end Alembic commands ###
|