text: # Generated by Django 2.1 on 2018-09-10 11:07
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('core', '0008_auto_20180909_1252'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Note',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=50, verbose_name='Название')),
                  ('body', models.CharField(max_length=1024, verbose_name='Заметка')),
                  ('timestamp', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Дата создания')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Заметки',
                  'verbose_name': 'Заметка',
              },
          ),
      ]
  