text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.5 on 2019-06-08 15:08
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='AccessRecord',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('date', models.DateField()),
              ],
          ),
          migrations.CreateModel(
              name='Topic',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('top_name', models.CharField(max_length=264, unique=True)),
              ],
          ),
          migrations.CreateModel(
              name='Webpage',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=264, unique=True)),
                  ('url', models.URLField(unique=True)),
                  ('topic', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='first_app.Topic')),
              ],
          ),
          migrations.AddField(
              model_name='accessrecord',
              name='name',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='first_app.Webpage'),
          ),
      ]
  