mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-09 00:53:51 +01:00
29 lines
667 B
Python
29 lines
667 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: dce69ad1e4eb
|
||
|
Revises: a791b9b74a4c
|
||
|
Create Date: 2018-12-25 18:57:44.575501
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = 'dce69ad1e4eb'
|
||
|
down_revision = 'a791b9b74a4c'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column("user", sa.Column('profile_pic', sa.String(length=255), nullable=True))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column("user", "profile_pic")
|
||
|
# ### end Alembic commands ###
|