mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-09 17:13:45 +01:00
29 lines
673 B
Python
29 lines
673 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 11b6ef362f98
|
||
|
Revises: 9fc23495713b
|
||
|
Create Date: 2018-07-04 01:01:45.440662
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '11b6ef362f98'
|
||
|
down_revision = '9fc23495713b'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('package', sa.Column('score', sa.Float(), nullable=False, server_default="0.0"))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('package', 'score')
|
||
|
# ### end Alembic commands ###
|