text: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Comment',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('author', models.CharField(max_length=256)),
                  ('content', models.TextField()),
              ],
          ),
          migrations.CreateModel(
              name='Multimedia',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('title', models.CharField(max_length=256)),
                  ('image', models.ImageField(upload_to=b'images', blank=True)),
                  ('document', models.FileField(upload_to=b'documents', blank=True)),
              ],
          ),
          migrations.CreateModel(
              name='Post',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('title', models.CharField(max_length=256)),
                  ('content', models.TextField(blank=True)),
              ],
          ),
          migrations.CreateModel(
              name='Tag',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('name', models.CharField(max_length=50)),
              ],
          ),
          migrations.AddField(
              model_name='post',
              name='tags',
              field=models.ManyToManyField(to='posts.Tag', blank=True),
          ),
          migrations.AddField(
              model_name='comment',
              name='post',
              field=models.ForeignKey(to='posts.Post', on_delete=django.db.models.deletion.CASCADE),
          ),
      ]
  