Skip to content

Commit

Permalink
Update migration to not conflict (#11761)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher authored Nov 12, 2024
1 parent 2600199 commit 5863a9b
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 55 deletions.
55 changes: 0 additions & 55 deletions readthedocs/projects/migrations/0131_addons_linkpreviews_fields.py

This file was deleted.

65 changes: 65 additions & 0 deletions readthedocs/projects/migrations/0132_addons_linkpreviews_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Generated by Django 4.2.16 on 2024-11-06 09:18

from django.db import migrations, models
from django_safemigrate import Safe


class Migration(migrations.Migration):
safe = Safe.before_deploy

dependencies = [
("projects", "0131_increase_env_var_size"),
]

operations = [
migrations.AddField(
model_name="addonsconfig",
name="linkpreviews_doctool_name",
field=models.CharField(
blank=True,
choices=[("sphinx", "Sphinx"), ("other", "Other")],
max_length=128,
null=True,
),
),
migrations.AddField(
model_name="addonsconfig",
name="linkpreviews_doctool_version",
field=models.CharField(blank=True, max_length=128, null=True),
),
migrations.AddField(
model_name="addonsconfig",
name="linkpreviews_enabled",
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name="addonsconfig",
name="linkpreviews_root_selector",
field=models.CharField(blank=True, max_length=128, null=True),
),
migrations.AddField(
model_name="historicaladdonsconfig",
name="linkpreviews_doctool_name",
field=models.CharField(
blank=True,
choices=[("sphinx", "Sphinx"), ("other", "Other")],
max_length=128,
null=True,
),
),
migrations.AddField(
model_name="historicaladdonsconfig",
name="linkpreviews_doctool_version",
field=models.CharField(blank=True, max_length=128, null=True),
),
migrations.AddField(
model_name="historicaladdonsconfig",
name="linkpreviews_enabled",
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name="historicaladdonsconfig",
name="linkpreviews_root_selector",
field=models.CharField(blank=True, max_length=128, null=True),
),
]

0 comments on commit 5863a9b

Please sign in to comment.