Skip to content

Commit 79ba5a6

Browse files
committed
chore: pydoc
1 parent 449f41d commit 79ba5a6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

invenio_vcs/alembic/1754318294_switch_to_generic_git_services.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#
1+
# -*- coding: utf-8 -*-
22
# This file is part of Invenio.
33
# Copyright (C) 2025 CERN.
44
#
55
# Invenio is free software; you can redistribute it and/or modify it
66
# under the terms of the MIT License; see LICENSE file for more details.
77

8-
"""Switch to generic git services"""
8+
"""Switch to a generic VCS module (not GitHub-specific)."""
99

1010
import uuid
1111
from datetime import datetime, timezone
@@ -253,12 +253,12 @@ def upgrade():
253253

254254

255255
def downgrade():
256-
"""Downgrade database."""
257-
258-
# Currently, the downgrade can only be peformed **without data**. The tables are transformed but
259-
# data will not be successfully migrated. The upgrade migration has a large amount of custom logic
260-
# for migrating the data into the new format, and this is not replicated/reversed for downgrading.
256+
"""Downgrade database.
261257
258+
Currently, the downgrade can only be peformed **without data**. The tables are transformed but
259+
data will not be successfully migrated. The upgrade migration has a large amount of custom logic
260+
for migrating the data into the new format, and this is not replicated/reversed for downgrading.
261+
"""
262262
op.alter_column(
263263
"vcs_repositories",
264264
"enabled_by_id",

0 commit comments

Comments
 (0)