# -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2017-12-20 03:39
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('accounts', '0006_auto_20171212_0912'),
    ]

    operations = [
        migrations.CreateModel(
            name='Message',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('text', models.TextField()),
                ('is_read', models.BooleanField(default=False)),
                ('is_deleted', models.BooleanField(default=False)),
                ('timestamp', models.DateTimeField(auto_now_add=True)),
                ('recipient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='received_messages', to=settings.AUTH_USER_MODEL)),
                ('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sent_messages', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['-timestamp'],
            },
        ),
    ]

8d945ff7fa70dd96d2c669ce8dc5b5e741290ca7
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('accounts', '0006_auto_20171212_0912')]
    operations = [migrations.CreateModel(name='Message', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('text', models.TextField()), (
        'is_read', models.BooleanField(default=False)), ('is_deleted',
        models.BooleanField(default=False)), ('timestamp', models.
        DateTimeField(auto_now_add=True)), ('recipient', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'received_messages', to=settings.AUTH_USER_MODEL)), ('sender',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='sent_messages', to=settings.AUTH_USER_MODEL))],
        options={'ordering': ['-timestamp']})]

from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('accounts', '0006_auto_20171212_0912')]
    operations = [migrations.CreateModel(name='Message', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('text', models.TextField()), (
        'is_read', models.BooleanField(default=False)), ('is_deleted',
        models.BooleanField(default=False)), ('timestamp', models.
        DateTimeField(auto_now_add=True)), ('recipient', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'received_messages', to=settings.AUTH_USER_MODEL)), ('sender',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='sent_messages', to=settings.AUTH_USER_MODEL))],
        options={'ordering': ['-timestamp']})]

# -*- coding: utf-8 -*-
# Generated by Django 1.11.8 on 2017-12-20 03:39
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('accounts', '0006_auto_20171212_0912'),
    ]

    operations = [
        migrations.CreateModel(
            name='Message',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('text', models.TextField()),
                ('is_read', models.BooleanField(default=False)),
                ('is_deleted', models.BooleanField(default=False)),
                ('timestamp', models.DateTimeField(auto_now_add=True)),
                ('recipient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='received_messages', to=settings.AUTH_USER_MODEL)),
                ('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sent_messages', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['-timestamp'],
            },
        ),
    ]
