summaryrefslogtreecommitdiffstats
path: root/engagements/migrations
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--engagements/migrations/0006_engagementstrategy_owned_by_and_more.py38
-rw-r--r--engagements/migrations/0007_alter_engagementstrategy_reviewed_by.py27
-rw-r--r--engagements/migrations/0008_alter_engagementstrategy_options_and_more.py21
-rw-r--r--engagements/migrations/0009_alter_engagementstrategy_description.py18
-rw-r--r--engagements/migrations/0010_remove_engagementstrategy_name.py17
5 files changed, 121 insertions, 0 deletions
diff --git a/engagements/migrations/0006_engagementstrategy_owned_by_and_more.py b/engagements/migrations/0006_engagementstrategy_owned_by_and_more.py
new file mode 100644
index 0000000..8b0a509
--- /dev/null
+++ b/engagements/migrations/0006_engagementstrategy_owned_by_and_more.py
@@ -0,0 +1,38 @@
+# Generated by Django 5.0.4 on 2024-09-10 12:33
+
+import django.db.models.deletion
+from django.conf import settings
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("engagements", "0005_engagementstrategy"),
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="engagementstrategy",
+ name="owned_by",
+ field=models.ForeignKey(
+ default=1,
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="owned_engagement_strategies",
+ to=settings.AUTH_USER_MODEL,
+ ),
+ preserve_default=False,
+ ),
+ migrations.AddField(
+ model_name="engagementstrategy",
+ name="reviewed_by",
+ field=models.ForeignKey(
+ default=1,
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="reviewed_engagement_strategies",
+ to=settings.AUTH_USER_MODEL,
+ ),
+ preserve_default=False,
+ ),
+ ]
diff --git a/engagements/migrations/0007_alter_engagementstrategy_reviewed_by.py b/engagements/migrations/0007_alter_engagementstrategy_reviewed_by.py
new file mode 100644
index 0000000..cacae95
--- /dev/null
+++ b/engagements/migrations/0007_alter_engagementstrategy_reviewed_by.py
@@ -0,0 +1,27 @@
+# Generated by Django 5.0.4 on 2024-09-10 12:45
+
+import django.db.models.deletion
+from django.conf import settings
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("engagements", "0006_engagementstrategy_owned_by_and_more"),
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="engagementstrategy",
+ name="reviewed_by",
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.CASCADE,
+ related_name="reviewed_engagement_strategies",
+ to=settings.AUTH_USER_MODEL,
+ ),
+ ),
+ ]
diff --git a/engagements/migrations/0008_alter_engagementstrategy_options_and_more.py b/engagements/migrations/0008_alter_engagementstrategy_options_and_more.py
new file mode 100644
index 0000000..c9b7a50
--- /dev/null
+++ b/engagements/migrations/0008_alter_engagementstrategy_options_and_more.py
@@ -0,0 +1,21 @@
+# Generated by Django 5.0.4 on 2024-09-10 12:49
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("engagements", "0007_alter_engagementstrategy_reviewed_by"),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name="engagementstrategy",
+ options={"ordering": ("start_year",), "verbose_name_plural": "Engagement Strategies"},
+ ),
+ migrations.AlterUniqueTogether(
+ name="engagementstrategy",
+ unique_together={("start_year", "organisation")},
+ ),
+ ]
diff --git a/engagements/migrations/0009_alter_engagementstrategy_description.py b/engagements/migrations/0009_alter_engagementstrategy_description.py
new file mode 100644
index 0000000..8fc9511
--- /dev/null
+++ b/engagements/migrations/0009_alter_engagementstrategy_description.py
@@ -0,0 +1,18 @@
+# Generated by Django 5.0.4 on 2024-09-10 12:51
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("engagements", "0008_alter_engagementstrategy_options_and_more"),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="engagementstrategy",
+ name="description",
+ field=models.TextField(blank=True, max_length=1024, null=True),
+ ),
+ ]
diff --git a/engagements/migrations/0010_remove_engagementstrategy_name.py b/engagements/migrations/0010_remove_engagementstrategy_name.py
new file mode 100644
index 0000000..45aa795
--- /dev/null
+++ b/engagements/migrations/0010_remove_engagementstrategy_name.py
@@ -0,0 +1,17 @@
+# Generated by Django 5.0.4 on 2024-09-10 13:07
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("engagements", "0009_alter_engagementstrategy_description"),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name="engagementstrategy",
+ name="name",
+ ),
+ ]