# Generated by Django 2.0.3 on 2018-03-18 13:49

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Task',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(default='New Task', max_length=100)),
                ('status', models.IntegerField(choices=[(0, 'Pending'), (1, 'In process'), (2, 'Finished')], default=0)),
                ('created', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'ordering': ('-created',),
            },
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, default='user', max_length=100)),
                ('lastname', models.CharField(blank=True, default='', max_length=100)),
            ],
            options={
                'ordering': ('id',),
            },
        ),
        migrations.AddField(
            model_name='task',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apiRest.User'),
        ),
    ]

f5a38f4f8cd1704dadf02264ce12cfad060b1571
<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='Task', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('title', models.CharField(default='New Task',
        max_length=100)), ('status', models.IntegerField(choices=[(0,
        'Pending'), (1, 'In process'), (2, 'Finished')], default=0)), (
        'created', models.DateTimeField(auto_now_add=True))], options={
        'ordering': ('-created',)}), migrations.CreateModel(name='User',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        blank=True, default='user', max_length=100)), ('lastname', models.
        CharField(blank=True, default='', max_length=100))], options={
        'ordering': ('id',)}), migrations.AddField(model_name='task', name=
        'user', field=models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='apiRest.User'))]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = []
    operations = [migrations.CreateModel(name='Task', fields=[('id', models
        .AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('title', models.CharField(default='New Task',
        max_length=100)), ('status', models.IntegerField(choices=[(0,
        'Pending'), (1, 'In process'), (2, 'Finished')], default=0)), (
        'created', models.DateTimeField(auto_now_add=True))], options={
        'ordering': ('-created',)}), migrations.CreateModel(name='User',
        fields=[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('name', models.CharField(
        blank=True, default='user', max_length=100)), ('lastname', models.
        CharField(blank=True, default='', max_length=100))], options={
        'ordering': ('id',)}), migrations.AddField(model_name='task', name=
        'user', field=models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='apiRest.User'))]

# Generated by Django 2.0.3 on 2018-03-18 13:49

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Task',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(default='New Task', max_length=100)),
                ('status', models.IntegerField(choices=[(0, 'Pending'), (1, 'In process'), (2, 'Finished')], default=0)),
                ('created', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'ordering': ('-created',),
            },
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, default='user', max_length=100)),
                ('lastname', models.CharField(blank=True, default='', max_length=100)),
            ],
            options={
                'ordering': ('id',),
            },
        ),
        migrations.AddField(
            model_name='task',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apiRest.User'),
        ),
    ]
