summaryrefslogtreecommitdiff
path: root/app/gtd/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-11-17 15:47:10 -0500
committerluxagraf <sng@luxagraf.net>2023-11-17 15:47:10 -0500
commitf30c1b31e3427fd887551b42a9aec74ae292460f (patch)
tree969bd567c3773413a44609244263ab91680cd8e3 /app/gtd/migrations
parent6fe5eaf1a31c0d30eefa710f1ddadeaae57abdbe (diff)
gtd: refactored code to make single notes model for all the things and
added management command to update based on RSS
Diffstat (limited to 'app/gtd/migrations')
-rw-r--r--app/gtd/migrations/0013_gtdnote_url.py18
-rw-r--r--app/gtd/migrations/0014_gtdnote_plan_gtdnote_work_status.py23
-rw-r--r--app/gtd/migrations/0015_rename_plan_gtdnote_work_plan.py18
-rw-r--r--app/gtd/migrations/0016_alter_gtdnote_work_plan.py18
-rw-r--r--app/gtd/migrations/0017_alter_gtdnote_note_type_alter_gtdnote_status_and_more.py28
5 files changed, 105 insertions, 0 deletions
diff --git a/app/gtd/migrations/0013_gtdnote_url.py b/app/gtd/migrations/0013_gtdnote_url.py
new file mode 100644
index 0000000..911fa75
--- /dev/null
+++ b/app/gtd/migrations/0013_gtdnote_url.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.7 on 2023-11-17 08:58
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('gtd', '0012_alter_gtdnote_body_markdown_and_more'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='gtdnote',
+ name='url',
+ field=models.CharField(blank=True, max_length=400, null=True),
+ ),
+ ]
diff --git a/app/gtd/migrations/0014_gtdnote_plan_gtdnote_work_status.py b/app/gtd/migrations/0014_gtdnote_plan_gtdnote_work_status.py
new file mode 100644
index 0000000..760bae4
--- /dev/null
+++ b/app/gtd/migrations/0014_gtdnote_plan_gtdnote_work_status.py
@@ -0,0 +1,23 @@
+# Generated by Django 4.2.7 on 2023-11-17 09:15
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('gtd', '0013_gtdnote_url'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='gtdnote',
+ name='plan',
+ field=models.IntegerField(choices=[(0, 'For Guide'), (1, 'Review'), (2, 'Rave/Rant'), (3, 'No Plan')], default=0),
+ ),
+ migrations.AddField(
+ model_name='gtdnote',
+ name='work_status',
+ field=models.IntegerField(choices=[(0, 'Call In'), (1, 'Asked For'), (2, 'Coming'), (3, 'Testing'), (4, 'Done'), (5, 'Live')], default=0),
+ ),
+ ]
diff --git a/app/gtd/migrations/0015_rename_plan_gtdnote_work_plan.py b/app/gtd/migrations/0015_rename_plan_gtdnote_work_plan.py
new file mode 100644
index 0000000..b378848
--- /dev/null
+++ b/app/gtd/migrations/0015_rename_plan_gtdnote_work_plan.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.7 on 2023-11-17 09:15
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('gtd', '0014_gtdnote_plan_gtdnote_work_status'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='gtdnote',
+ old_name='plan',
+ new_name='work_plan',
+ ),
+ ]
diff --git a/app/gtd/migrations/0016_alter_gtdnote_work_plan.py b/app/gtd/migrations/0016_alter_gtdnote_work_plan.py
new file mode 100644
index 0000000..ee7a400
--- /dev/null
+++ b/app/gtd/migrations/0016_alter_gtdnote_work_plan.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.7 on 2023-11-17 09:24
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('gtd', '0015_rename_plan_gtdnote_work_plan'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='gtdnote',
+ name='work_plan',
+ field=models.IntegerField(choices=[(1, 'For Guide'), (2, 'Review'), (3, 'Rave/Rant'), (0, 'No Plan')], default=1),
+ ),
+ ]
diff --git a/app/gtd/migrations/0017_alter_gtdnote_note_type_alter_gtdnote_status_and_more.py b/app/gtd/migrations/0017_alter_gtdnote_note_type_alter_gtdnote_status_and_more.py
new file mode 100644
index 0000000..c99a2e4
--- /dev/null
+++ b/app/gtd/migrations/0017_alter_gtdnote_note_type_alter_gtdnote_status_and_more.py
@@ -0,0 +1,28 @@
+# Generated by Django 4.2.7 on 2023-11-17 09:31
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('gtd', '0016_alter_gtdnote_work_plan'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='gtdnote',
+ name='note_type',
+ field=models.SmallIntegerField(choices=[(0, 'Action'), (1, 'Reminder'), (2, 'Reference')], default=0),
+ ),
+ migrations.AlterField(
+ model_name='gtdnote',
+ name='status',
+ field=models.SmallIntegerField(choices=[(0, 'None'), (1, 'Open'), (2, 'Completed')], default=1),
+ ),
+ migrations.AlterField(
+ model_name='gtdnote',
+ name='work_status',
+ field=models.SmallIntegerField(choices=[(0, 'Call In'), (1, 'Asked For'), (2, 'Coming'), (3, 'Testing'), (4, 'Done'), (5, 'Live')], default=0),
+ ),
+ ]