# Generated by Django 3.1.5 on 2021-01-05 11:55

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Position',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('position_name', models.CharField(max_length=30)),
            ],
        ),
        migrations.CreateModel(
            name='Department',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('department_name', models.CharField(max_length=30)),
                ('department_dec', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contracts.department')),
            ],
        ),
        migrations.CreateModel(
            name='Contract',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('start_date', models.DateField(verbose_name='HireDate')),
                ('end_date', models.DateField(blank=True, default=None, null=True)),
                ('dep_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contracts.department')),
                ('pos_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contracts.position')),
            ],
        ),
    ]

ed6c47f8363b9761049d0abc8dc5be5c018e63f3
<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='Position', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('position_name', models.CharField(
        max_length=30))]), migrations.CreateModel(name='Department', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('department_name', models.
        CharField(max_length=30)), ('department_dec', models.ForeignKey(
        blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
        to='contracts.department'))]), migrations.CreateModel(name=
        'Contract', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'start_date', models.DateField(verbose_name='HireDate')), (
        'end_date', models.DateField(blank=True, default=None, null=True)),
        ('dep_id', models.ForeignKey(blank=True, null=True, on_delete=
        django.db.models.deletion.CASCADE, to='contracts.department')), (
        'pos_id', models.ForeignKey(blank=True, null=True, on_delete=django
        .db.models.deletion.CASCADE, to='contracts.position'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Position', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('position_name', models.CharField(
        max_length=30))]), migrations.CreateModel(name='Department', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('department_name', models.
        CharField(max_length=30)), ('department_dec', models.ForeignKey(
        blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
        to='contracts.department'))]), migrations.CreateModel(name=
        'Contract', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), (
        'start_date', models.DateField(verbose_name='HireDate')), (
        'end_date', models.DateField(blank=True, default=None, null=True)),
        ('dep_id', models.ForeignKey(blank=True, null=True, on_delete=
        django.db.models.deletion.CASCADE, to='contracts.department')), (
        'pos_id', models.ForeignKey(blank=True, null=True, on_delete=django
        .db.models.deletion.CASCADE, to='contracts.position'))])]

# Generated by Django 3.1.5 on 2021-01-05 11:55

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Position',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('position_name', models.CharField(max_length=30)),
            ],
        ),
        migrations.CreateModel(
            name='Department',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('department_name', models.CharField(max_length=30)),
                ('department_dec', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contracts.department')),
            ],
        ),
        migrations.CreateModel(
            name='Contract',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('start_date', models.DateField(verbose_name='HireDate')),
                ('end_date', models.DateField(blank=True, default=None, null=True)),
                ('dep_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contracts.department')),
                ('pos_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contracts.position')),
            ],
        ),
    ]
