From b3a75867797b10f546ab03ab16fa868b76ad4c68 Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Thu, 25 Jan 2018 00:22:09 -0500 Subject: [PATCH] Added migration files --- .../migrations/0005_auto_20180123_2218.py | 67 +++++++++++++++++++ .../migrations/0006_auto_20180123_2302.py | 20 ++++++ .../migrations/0007_auto_20180124_0056.py | 20 ++++++ .../migrations/0008_auto_20180124_0132.py | 21 ++++++ 4 files changed, 128 insertions(+) create mode 100644 charter_members/migrations/0005_auto_20180123_2218.py create mode 100644 charter_members/migrations/0006_auto_20180123_2302.py create mode 100644 charter_members/migrations/0007_auto_20180124_0056.py create mode 100644 charter_members/migrations/0008_auto_20180124_0132.py diff --git a/charter_members/migrations/0005_auto_20180123_2218.py b/charter_members/migrations/0005_auto_20180123_2218.py new file mode 100644 index 0000000..0e67fd1 --- /dev/null +++ b/charter_members/migrations/0005_auto_20180123_2218.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-01-24 03:18 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.utils.timezone + + +class Migration(migrations.Migration): + + dependencies = [ + ('charter_members', '0004_attorney_order'), + ] + + operations = [ + migrations.RenameModel( + old_name='Chapter', + new_name='Region', + ), + migrations.RenameField( + model_name='attorney', + old_name='name', + new_name='first_name', + ), + migrations.RenameField( + model_name='attorney', + old_name='chapter', + new_name='region', + ), + migrations.AddField( + model_name='attorney', + name='address', + field=models.CharField(default='', max_length=255), + preserve_default=False, + ), + migrations.AddField( + model_name='attorney', + name='call_to_bar', + field=models.DateField(blank=True, null=True), + ), + migrations.AddField( + model_name='attorney', + name='last_name', + field=models.CharField(default='', max_length=100), + preserve_default=False, + ), + migrations.AddField( + model_name='attorney', + name='lso', + field=models.CharField(blank=True, max_length=20, null=True), + ), + migrations.AlterField( + model_name='attorney', + name='email', + field=models.CharField(max_length=255), + ), + migrations.AlterField( + model_name='attorney', + name='joined', + field=models.DateField(default=django.utils.timezone.now), + ), + migrations.AlterField( + model_name='attorney', + name='phone', + field=models.CharField(max_length=10), + ), + ] diff --git a/charter_members/migrations/0006_auto_20180123_2302.py b/charter_members/migrations/0006_auto_20180123_2302.py new file mode 100644 index 0000000..cf4618a --- /dev/null +++ b/charter_members/migrations/0006_auto_20180123_2302.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-01-24 04:02 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('charter_members', '0005_auto_20180123_2218'), + ] + + operations = [ + migrations.AlterField( + model_name='attorney', + name='call_to_bar', + field=models.CharField(blank=True, max_length=4, null=True), + ), + ] diff --git a/charter_members/migrations/0007_auto_20180124_0056.py b/charter_members/migrations/0007_auto_20180124_0056.py new file mode 100644 index 0000000..7ba9024 --- /dev/null +++ b/charter_members/migrations/0007_auto_20180124_0056.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-01-24 05:56 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('charter_members', '0006_auto_20180123_2302'), + ] + + operations = [ + migrations.RenameField( + model_name='position', + old_name='position_name', + new_name='name', + ), + ] diff --git a/charter_members/migrations/0008_auto_20180124_0132.py b/charter_members/migrations/0008_auto_20180124_0132.py new file mode 100644 index 0000000..be2ae7b --- /dev/null +++ b/charter_members/migrations/0008_auto_20180124_0132.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2018-01-24 06:32 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('charter_members', '0007_auto_20180124_0056'), + ] + + operations = [ + migrations.AlterField( + model_name='attorney', + name='position', + field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='charter_members.Position'), + ), + ]