26 lines
993 B
Python
26 lines
993 B
Python
# Generated by Django 2.1.2 on 2019-03-16 03:23
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('jobs', '0003_auto_20181020_0622'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='JobMessage',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('text', models.TextField()),
|
|
('date', models.DateTimeField(auto_now_add=True)),
|
|
('receiver', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='receiver', to=settings.AUTH_USER_MODEL)),
|
|
('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sender', to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|