diff options
author | luxagraf <sng@luxagraf.net> | 2024-01-17 15:25:44 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-01-17 15:25:44 -0500 |
commit | 1e362aad0f890221b7d5529dce01bb34d8f3282d (patch) | |
tree | 260c814348e92abec8a59cf0a372fd7a9888bd37 /app/gtd/migrations | |
parent | 163a4247110861510b58765a19efbd98c084b350 (diff) |
gtd: added an update schedule option and way to update the needs_update
boolean.
Diffstat (limited to 'app/gtd/migrations')
3 files changed, 65 insertions, 0 deletions
diff --git a/app/gtd/migrations/0028_wiredupdate.py b/app/gtd/migrations/0028_wiredupdate.py new file mode 100644 index 0000000..3ad0525 --- /dev/null +++ b/app/gtd/migrations/0028_wiredupdate.py @@ -0,0 +1,24 @@ +# Generated by Django 4.2.7 on 2024-01-17 14:23 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gtd', '0027_wiredpost_category'), + ] + + operations = [ + migrations.CreateModel( + name='WiredUpdate', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(blank=True, max_length=20, null=True)), + ('date', models.DateField(blank=True, null=True)), + ], + options={ + 'ordering': ('-date',), + }, + ), + ] diff --git a/app/gtd/migrations/0029_wiredpost_update_schedule.py b/app/gtd/migrations/0029_wiredpost_update_schedule.py new file mode 100644 index 0000000..3b1d413 --- /dev/null +++ b/app/gtd/migrations/0029_wiredpost_update_schedule.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.7 on 2024-01-17 14:26 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gtd', '0028_wiredupdate'), + ] + + operations = [ + migrations.AddField( + model_name='wiredpost', + name='update_schedule', + field=models.ManyToManyField(blank=True, to='gtd.wiredupdate'), + ), + ] diff --git a/app/gtd/migrations/0030_wiredpost_is_priority_alter_wiredpost_post_status.py b/app/gtd/migrations/0030_wiredpost_is_priority_alter_wiredpost_post_status.py new file mode 100644 index 0000000..b0cb54f --- /dev/null +++ b/app/gtd/migrations/0030_wiredpost_is_priority_alter_wiredpost_post_status.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.7 on 2024-01-17 14:59 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('gtd', '0029_wiredpost_update_schedule'), + ] + + operations = [ + migrations.AddField( + model_name='wiredpost', + name='is_priority', + field=models.BooleanField(default=True), + ), + migrations.AlterField( + model_name='wiredpost', + name='post_status', + field=models.IntegerField(choices=[(0, 'Assigned'), (1, 'turned in'), (2, 'published'), (3, 'in progress')], default=2), + ), + ] |