# Generated by Django 4.2.7 on 2023-11-14 09:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('media', '0008_auto_20201202_1155'), ] operations = [ migrations.CreateModel( name='GTDOutcome', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('slug', models.SlugField()), ('body_markdown', models.TextField()), ('body_html', models.TextField(blank=True)), ('date_goal', models.DateField()), ('date_ended', models.DateField()), ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='media.luximage')), ], options={ 'ordering': ('-date_goal',), }, ), migrations.CreateModel( name='GTDProject', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('short_title', models.CharField(blank=True, max_length=200, null=True)), ('slug', models.SlugField()), ('body_markdown', models.TextField(blank=True, null=True)), ('body_html', models.TextField(blank=True)), ('date_goal', models.DateField(blank=True, null=True)), ('date_ended', models.DateField(blank=True, null=True)), ('project_type', models.IntegerField(choices=[(0, 'wired'), (1, 'lbh'), (2, 'personal')], default=0)), ('outcome', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='gtd.gtdoutcome')), ], options={ 'ordering': ('-date_goal',), 'get_latest_by': 'date_goal', }, ), migrations.CreateModel( name='GTDNote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('slug', models.SlugField()), ('body_markdown', models.TextField()), ('body_html', models.TextField(blank=True)), ('date_completed', models.DateField()), ('date_created', models.DateTimeField(auto_now=True)), ('note_type', models.IntegerField(choices=[(0, 'action'), (1, 'reminder'), (2, 'reference')], default=0)), ('reminder', models.BigIntegerField(help_text='In days')), ('status', models.IntegerField(choices=[(0, 'None'), (1, 'Open'), (2, 'Completed')], default=0)), ('project', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='gtd.gtdproject')), ], options={ 'ordering': ('-date_created',), 'get_latest_by': 'date_created', }, ), ]