gmba_django/app/migrations/0017_auto_20211122_1008.py

32 lines
925 B
Python
Raw Permalink Normal View History

2021-11-22 10:09:33 +00:00
# Generated by Django 3.2.5 on 2021-11-22 10:08
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app', '0016_alter_person_status'),
]
operations = [
migrations.CreateModel(
name='Role',
fields=[
('id', models.AutoField(primary_key=True, serialize=False)),
('role', models.TextField(blank=True, null=True)),
],
),
migrations.AlterField(
model_name='person',
name='entry_date',
field=models.TextField(blank=True, editable=False, null=True),
),
migrations.AddField(
model_name='peopleresource',
name='p_r_role',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='app.role'),
),
]