Removed automatically generated comments from alembic

This commit is contained in:
vladfreeze
2021-12-02 11:29:20 +01:00
committed by Min RK
parent b11814c95b
commit 21231d2f23

View File

@@ -17,7 +17,7 @@ from jupyterhub.orm import JSONDict
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
try:
op.add_column("groups", sa.Column("properties", JSONDict))
print("Added column!")
@@ -25,12 +25,12 @@ def upgrade():
print(
"The properties column could not have been added. Perhaps because it is already existing."
)
# ### end Alembic commands ###
print("Alembic Upgrade took place!")
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
try:
op.drop_column("groups", "properties")
print("Removed column!")
@@ -38,5 +38,5 @@ def downgrade():
print(
"The properties column could not have been removed. Perhaps because it is not existing."
)
# ### end Alembic commands ###
print("Alembic downgrade took place!")