From cc5f9e9e25071de86d71ed721252f0924aeabc55 Mon Sep 17 00:00:00 2001
From: Alexander Pace <alexander.pace@ligo.org>
Date: Mon, 21 Nov 2016 16:57:42 -0600
Subject: [PATCH] adding migration file for phone number model field

---
 .../0004_add_contact_phone_number.py          | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 userprofile/migrations/0004_add_contact_phone_number.py

diff --git a/userprofile/migrations/0004_add_contact_phone_number.py b/userprofile/migrations/0004_add_contact_phone_number.py
new file mode 100644
index 000000000..d262aa1ae
--- /dev/null
+++ b/userprofile/migrations/0004_add_contact_phone_number.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import userprofile.models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('userprofile', '0003_trigger_label_query'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='contact',
+            name='phone',
+            field=userprofile.models.PhoneNumberField(blank=True, max_length=255, validators=[userprofile.models.validate_phone, userprofile.models.validate_phone, userprofile.models.validate_phone]),
+        ),
+        migrations.AlterField(
+            model_name='contact',
+            name='email',
+            field=models.EmailField(max_length=254, blank=True),
+        ),
+    ]
-- 
GitLab