dnmgmt/rrequests/migrations/0002_auto_20170305_0436.py

46 lines
1.3 KiB
Python
Raw Normal View History

2017-03-14 20:18:57 +01:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-05 04:36
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('whoisdb', '0013_auto_20170303_1206'),
('rrequests', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='request',
old_name='requestedTo',
new_name='applicant',
),
migrations.RenameField(
model_name='request',
old_name='requestedFrom',
new_name='provider',
),
migrations.RenameField(
model_name='request',
old_name='title',
new_name='subject',
),
migrations.AddField(
model_name='requestmessage',
name='created',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='requestmessage',
name='creator',
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='whoisdb.Maintainer'),
preserve_default=False,
),
]