text: # Generated by Django 3.1.4 on 2020-12-31 17:07
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Editor',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('first_name', models.CharField(max_length=30)),
                  ('last_name', models.CharField(max_length=30)),
                  ('email', models.EmailField(max_length=254)),
                  ('phone_number', models.CharField(blank=True, max_length=10, null=True)),
              ],
          ),
          migrations.CreateModel(
              name='tags',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Article',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=60)),
                  ('post', models.TextField()),
                  ('pub_date', models.DateTimeField(auto_now_add=True)),
                  ('article_image', models.ImageField(upload_to='articles/')),
                  ('editor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='news.editor')),
                  ('tags', models.ManyToManyField(to='news.tags')),
              ],
          ),
      ]
  