diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-02-17 20:55:54 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-02-17 20:55:54 +0000 |
commit | 7b6de8f88d2673ffdd61dc8cc7f1fca754c8cf88 (patch) | |
tree | 6ac039c2b4237ae7c1e9a5cee5213489e518b76d /ctrack/organisations/migrations | |
parent | 05d56d5033fd65eb12c18d0497b1a8cddeda0cb1 (diff) |
added active, comments, updated_by fields to organisation
Diffstat (limited to 'ctrack/organisations/migrations')
3 files changed, 68 insertions, 0 deletions
diff --git a/ctrack/organisations/migrations/0017_auto_20200217_2050.py b/ctrack/organisations/migrations/0017_auto_20200217_2050.py new file mode 100644 index 0000000..7fe2de2 --- /dev/null +++ b/ctrack/organisations/migrations/0017_auto_20200217_2050.py @@ -0,0 +1,31 @@ +# Generated by Django 2.2.9 on 2020-02-17 20:50 + +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), + ('organisations', '0016_auto_20200217_1712'), + ] + + operations = [ + migrations.AlterModelOptions( + name='person', + options={'verbose_name_plural': 'People'}, + ), + migrations.AddField( + model_name='organisation', + name='date_updated', + field=models.DateField(auto_now=True), + ), + migrations.AddField( + model_name='organisation', + name='updated_by', + field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), + preserve_default=False, + ), + ] diff --git a/ctrack/organisations/migrations/0018_organisation_comments.py b/ctrack/organisations/migrations/0018_organisation_comments.py new file mode 100644 index 0000000..f4a29ff --- /dev/null +++ b/ctrack/organisations/migrations/0018_organisation_comments.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.9 on 2020-02-17 20:53 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0017_auto_20200217_2050'), + ] + + operations = [ + migrations.AddField( + model_name='organisation', + name='comments', + field=models.TextField(default='NA', max_length=500), + preserve_default=False, + ), + ] diff --git a/ctrack/organisations/migrations/0019_organisation_active.py b/ctrack/organisations/migrations/0019_organisation_active.py new file mode 100644 index 0000000..affb7b8 --- /dev/null +++ b/ctrack/organisations/migrations/0019_organisation_active.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.9 on 2020-02-17 20:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0018_organisation_comments'), + ] + + operations = [ + migrations.AddField( + model_name='organisation', + name='active', + field=models.BooleanField(default=True), + ), + ] |