mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Removed automatically generated comments from alembic
This commit is contained in:
@@ -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!")
|
||||
|
Reference in New Issue
Block a user