diff --git a/jobs/migrations/0004_jobmessage.py b/jobs/migrations/0004_jobmessage.py new file mode 100644 index 0000000..9b8f655 --- /dev/null +++ b/jobs/migrations/0004_jobmessage.py @@ -0,0 +1,26 @@ +# 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)), + ], + ), + ] diff --git a/jobs/migrations/0005_job_active.py b/jobs/migrations/0005_job_active.py new file mode 100644 index 0000000..bb7c165 --- /dev/null +++ b/jobs/migrations/0005_job_active.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.2 on 2019-03-17 02:12 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jobs', '0004_jobmessage'), + ] + + operations = [ + migrations.AddField( + model_name='job', + name='active', + field=models.BooleanField(default=True), + ), + ]