diff options
Diffstat (limited to 'bak/unused_apps/notes/migrations')
-rw-r--r-- | bak/unused_apps/notes/migrations/0001_initial.py | 26 | ||||
-rw-r--r-- | bak/unused_apps/notes/migrations/__init__.py | 0 |
2 files changed, 26 insertions, 0 deletions
diff --git a/bak/unused_apps/notes/migrations/0001_initial.py b/bak/unused_apps/notes/migrations/0001_initial.py new file mode 100644 index 0000000..ea67ad1 --- /dev/null +++ b/bak/unused_apps/notes/migrations/0001_initial.py @@ -0,0 +1,26 @@ +# Generated by Django 2.0.1 on 2018-05-09 09:35 + +from django.db import migrations, models +import django.utils.timezone + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Note', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('title', models.CharField(blank=True, max_length=250, null=True)), + ('slug', models.SlugField(blank=True, unique_for_date='pub_date')), + ('pub_date', models.DateTimeField(default=django.utils.timezone.now)), + ('body_html', models.TextField(blank=True)), + ('body_markdown', models.TextField(verbose_name='Note')), + ], + ), + ] diff --git a/bak/unused_apps/notes/migrations/__init__.py b/bak/unused_apps/notes/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bak/unused_apps/notes/migrations/__init__.py |