File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 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
1010import uuid
1111from datetime import datetime , timezone
@@ -253,12 +253,12 @@ def upgrade():
253253
254254
255255def 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" ,
You can’t perform that action at this time.
0 commit comments