summaryrefslogtreecommitdiff
path: root/app/unused_apps/notes/migrations/0001_initial.py
blob: ea67ad1b5d539bfd0b8ad8f8331fee73979ad18d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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')),
            ],
        ),
    ]