summaryrefslogtreecommitdiff
path: root/app/gtd/migrations/0028_wiredupdate.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-01-17 15:25:44 -0500
committerluxagraf <sng@luxagraf.net>2024-01-17 15:25:44 -0500
commit1e362aad0f890221b7d5529dce01bb34d8f3282d (patch)
tree260c814348e92abec8a59cf0a372fd7a9888bd37 /app/gtd/migrations/0028_wiredupdate.py
parent163a4247110861510b58765a19efbd98c084b350 (diff)
gtd: added an update schedule option and way to update the needs_update
boolean.
Diffstat (limited to 'app/gtd/migrations/0028_wiredupdate.py')
-rw-r--r--app/gtd/migrations/0028_wiredupdate.py24
1 files changed, 24 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',),
+ },
+ ),
+ ]