# Generated by Django 2.1.7 on 2020-12-19 22:27

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Articles',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('url', models.CharField(max_length=300)),
                ('image_url', models.CharField(blank=True, max_length=400, null=True)),
                ('description', models.CharField(blank=True, max_length=1000, null=True)),
                ('source', models.CharField(blank=True, max_length=50, null=True)),
                ('pub_date', models.DateField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Site',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('siret_number', models.CharField(blank=True, max_length=20, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='articles',
            name='industrial_site',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='news_dispatcher_app.Site'),
        ),
    ]

239813324e7963bfbb062ae7c8a9e071a3ecf837
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Articles', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('url', models.CharField(max_length=300
        )), ('image_url', models.CharField(blank=True, max_length=400, null
        =True)), ('description', models.CharField(blank=True, max_length=
        1000, null=True)), ('source', models.CharField(blank=True,
        max_length=50, null=True)), ('pub_date', models.DateField(blank=
        True, null=True))]), migrations.CreateModel(name='Site', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        max_length=200)), ('siret_number', models.CharField(blank=True,
        max_length=20, null=True))]), migrations.AddField(model_name=
        'articles', name='industrial_site', field=models.ForeignKey(blank=
        True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=
        'news_dispatcher_app.Site'))]

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Articles', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('url', models.CharField(max_length=300
        )), ('image_url', models.CharField(blank=True, max_length=400, null
        =True)), ('description', models.CharField(blank=True, max_length=
        1000, null=True)), ('source', models.CharField(blank=True,
        max_length=50, null=True)), ('pub_date', models.DateField(blank=
        True, null=True))]), migrations.CreateModel(name='Site', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        max_length=200)), ('siret_number', models.CharField(blank=True,
        max_length=20, null=True))]), migrations.AddField(model_name=
        'articles', name='industrial_site', field=models.ForeignKey(blank=
        True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=
        'news_dispatcher_app.Site'))]

# Generated by Django 2.1.7 on 2020-12-19 22:27

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Articles',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('url', models.CharField(max_length=300)),
                ('image_url', models.CharField(blank=True, max_length=400, null=True)),
                ('description', models.CharField(blank=True, max_length=1000, null=True)),
                ('source', models.CharField(blank=True, max_length=50, null=True)),
                ('pub_date', models.DateField(blank=True, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Site',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('siret_number', models.CharField(blank=True, max_length=20, null=True)),
            ],
        ),
        migrations.AddField(
            model_name='articles',
            name='industrial_site',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='news_dispatcher_app.Site'),
        ),
    ]
