Added migration files

This commit is contained in:
Zakary Timson 2018-01-25 00:22:09 -05:00
parent 69a5af2e9c
commit b3a7586779
4 changed files with 128 additions and 0 deletions

View File

@ -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),
),
]

View File

@ -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),
),
]

View File

@ -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',
),
]

View File

@ -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'),
),
]