text: # Generated by Django 2.1.7 on 2019-04-01 20:23
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('contenttypes', '0002_remove_content_type_name'),
          ('Blog', '0003_auto_20190331_2150'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='File',
              fields=[
                  ('id', models.AutoField(primary_key=True, serialize=False)),
                  ('file', models.FileField(upload_to='files/%Y-%m-%d')),
                  ('object_id', models.CharField(max_length=50)),
                  ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='contenttypes.ContentType')),
              ],
          ),
          migrations.RemoveField(
              model_name='post',
              name='category',
          ),
          migrations.RemoveField(
              model_name='post',
              name='image',
          ),
          migrations.AddField(
              model_name='post',
              name='categories',
              field=models.ManyToManyField(to='Blog.Category'),
          ),
      ]
  