do not rename past migrations

it is not possible to go back in time
wip-forgejo
Loïc Dachary 2023-01-09 18:24:10 +01:00
parent 1c165fcea3
commit 788e025b98
Signed by: dachary
GPG Key ID: 992D23B392F9E4F2
5 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ class Migration(migrations.Migration):
operations = [
migrations.AddField(
model_name="instancecreated",
name="forgejo_password",
name="gitea_password",
field=models.CharField(
default=None, max_length=32, verbose_name="Name of this configuration"
),

View File

@ -6,7 +6,7 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("infrastructure", "0002_instancecreated_forgejo_password"),
("infrastructure", "0002_instancecreated_gitea_password"),
]
operations = [

View File

@ -12,11 +12,11 @@ class Migration(migrations.Migration):
operations = [
migrations.AlterField(
model_name="instancecreated",
name="forgejo_password",
name="gitea_password",
field=models.CharField(
default=None,
max_length=32,
verbose_name="Forgejo password of this deployment",
verbose_name="Gitea password of this deployment",
),
),
]

View File

@ -6,12 +6,12 @@ from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("infrastructure", "0004_alter_instancecreated_forgejo_password"),
("infrastructure", "0004_alter_instancecreated_gitea_password"),
]
operations = [
migrations.RemoveField(
model_name="instancecreated",
name="forgejo_password",
name="gitea_password",
),
]

View File

@ -8,7 +8,7 @@ class Migration(migrations.Migration):
dependencies = [
("dash", "0006_auto_20220619_0800"),
("infrastructure", "0005_remove_instancecreated_forgejo_password"),
("infrastructure", "0005_remove_instancecreated_gitea_password"),
]
operations = [