# Generated by Django 2.2.9 on 2020-04-28 06:06

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('users', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='CoinHistory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('rest_coin', models.PositiveSmallIntegerField()),
                ('reason', models.CharField(choices=[('CONFIRM_USER', 'CONFIRM_USER'), ('SELF_DATE_PROFILE_VIEW', 'SELF_DATE_PROFILE_VIEW'), ('SELF_DATE_SEND_MESSAGE', 'SELF_DATE_SEND_MESSAGE')], max_length=50)),
                ('message', models.CharField(max_length=200)),
                ('profile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='coin_histories', to='users.Profile')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
