Changeset View
Changeset View
Standalone View
Standalone View
swh/web/common/migrations/0006_rename_origin_type.py
# Copyright (C) 2019 The Software Heritage developers | # Copyright (C) 2019 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU Affero General Public License version 3, or any later version | # License: GNU Affero General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
from __future__ import unicode_literals | from __future__ import unicode_literals | ||||
from django.db import migrations | from django.db import migrations | ||||
class Migration(migrations.Migration): | class Migration(migrations.Migration): | ||||
dependencies = [ | dependencies = [ | ||||
("swh.web.common", "0005_remove_duplicated_authorized_origins"), | ("swh_web_common", "0005_remove_duplicated_authorized_origins"), | ||||
] | ] | ||||
operations = [ | operations = [ | ||||
migrations.RenameField( | migrations.RenameField( | ||||
model_name="saveoriginrequest", | model_name="saveoriginrequest", | ||||
old_name="origin_type", | old_name="origin_type", | ||||
new_name="visit_type", | new_name="visit_type", | ||||
), | ), | ||||
] | ] |