oacpl/charter_members/migrations/0003_auto_20180114_1722.py

29 lines
858 B
Python
Raw Normal View History

2018-01-14 20:48:45 -05:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-01-14 22:22
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('charter_members', '0002_auto_20180112_0153'),
]
operations = [
migrations.CreateModel(
name='Chapter',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=50)),
],
),
migrations.AddField(
model_name='attorney',
name='chapter',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='charter_members.Chapter'),
),
]