fix social media twitter to x migration

This commit is contained in:
Stefan Pratter
2024-04-17 09:43:37 +00:00
parent e37dc4da56
commit ab21cb378c
@@ -1,5 +1,6 @@
# Generated by Django 4.2.10 on 2024-03-27 12:10
import django_peeringdb.fields
from django.db import migrations
@@ -38,4 +39,22 @@ class Migration(migrations.Migration):
("peeringdb_server", "0125_amr"),
]
operations = [migrations.RunPython(update_twitter_to_x, reverse_code)]
operations = [
migrations.AlterField(
model_name="facility",
name="available_voltage_services",
field=django_peeringdb.fields.MultipleChoiceField(
blank=True,
choices=[
("48 VDC", "48 VDC"),
("400 VAC", "400 VAC"),
("480 VAC", "480 VAC"),
],
help_text="The alternating current voltage available to users of the facility either directly from the landlord or delivered by the utility separately.",
max_length=255,
null=True,
verbose_name="Available Voltage Services",
),
),
migrations.RunPython(update_twitter_to_x, reverse_code),
]