Skip to content
Snippets Groups Projects
Commit a263e542 authored by Tore.Brede's avatar Tore.Brede
Browse files

Recreating initial migration

parent 6749484d
No related branches found
No related tags found
1 merge request!24GREG-21: Various model updates
Pipeline #90776 passed
# Generated by Django 3.2.5 on 2021-08-20 08:20 # Generated by Django 3.2.5 on 2021-08-23 08:53
import datetime import datetime
import dirtyfields.dirtyfields import dirtyfields.dirtyfields
...@@ -73,10 +73,10 @@ class Migration(migrations.Migration): ...@@ -73,10 +73,10 @@ class Migration(migrations.Migration):
('updated', models.DateTimeField(auto_now=True)), ('updated', models.DateTimeField(auto_now=True)),
('first_name', models.CharField(max_length=256)), ('first_name', models.CharField(max_length=256)),
('last_name', models.CharField(max_length=256)), ('last_name', models.CharField(max_length=256)),
('date_of_birth', models.DateField()), ('date_of_birth', models.DateField(null=True)),
('email', models.EmailField(max_length=254)), ('email', models.EmailField(blank=True, max_length=254)),
('email_verified_date', models.DateField(null=True)), ('email_verified_date', models.DateField(null=True)),
('mobile_phone', models.CharField(max_length=15)), ('mobile_phone', models.CharField(blank=True, max_length=15)),
('mobile_phone_verified_date', models.DateField(null=True)), ('mobile_phone_verified_date', models.DateField(null=True)),
('registration_completed_date', models.DateField(null=True)), ('registration_completed_date', models.DateField(null=True)),
('token', models.CharField(blank=True, max_length=32)), ('token', models.CharField(blank=True, max_length=32)),
...@@ -147,9 +147,9 @@ class Migration(migrations.Migration): ...@@ -147,9 +147,9 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created', models.DateTimeField(auto_now_add=True)), ('created', models.DateTimeField(auto_now_add=True)),
('updated', models.DateTimeField(auto_now=True)), ('updated', models.DateTimeField(auto_now=True)),
('start_date', models.DateField()), ('start_date', models.DateField(null=True)),
('end_date', models.DateField()), ('end_date', models.DateField()),
('contact_person_unit', models.TextField()), ('contact_person_unit', models.TextField(blank=True)),
('comments', models.TextField(blank=True)), ('comments', models.TextField(blank=True)),
('available_in_search', models.BooleanField(default=False)), ('available_in_search', models.BooleanField(default=False)),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='person_roles', to='greg.person')), ('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='person_roles', to='greg.person')),
...@@ -170,7 +170,7 @@ class Migration(migrations.Migration): ...@@ -170,7 +170,7 @@ class Migration(migrations.Migration):
('value', models.CharField(max_length=256)), ('value', models.CharField(max_length=256)),
('verified', models.CharField(blank=True, choices=[('AUTOMATIC', 'Automatic'), ('MANUAL', 'Manual')], max_length=9)), ('verified', models.CharField(blank=True, choices=[('AUTOMATIC', 'Automatic'), ('MANUAL', 'Manual')], max_length=9)),
('verified_when', models.DateField(null=True)), ('verified_when', models.DateField(null=True)),
('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='person', to='greg.person')), ('person', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='identities', to='greg.person')),
('verified_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='sponsor', to='greg.sponsor')), ('verified_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='sponsor', to='greg.sponsor')),
], ],
options={ options={
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment