mirror of
https://github.com/peeringdb/peeringdb.git
synced 2024-05-11 05:55:09 +00:00
fix social media twitter to x migration
This commit is contained in:
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user