# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-26 07:26
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('serverctl', '0004_auto_20170326_0550'),
    ]

    operations = [
        migrations.CreateModel(
            name='PaymentHistory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.CharField(choices=[('CREATED', '請求'), ('PAID', '決済')], max_length=12)),
            ],
        ),
        migrations.CreateModel(
            name='Payments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('amount', models.IntegerField(default=0)),
                ('paid', models.BooleanField(default=False)),
                ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.GameServerGroup')),
                ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.Player')),
            ],
        ),
        migrations.AlterField(
            model_name='gameserver',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True),
        ),
        migrations.AlterField(
            model_name='serverhistory',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True),
        ),
        migrations.AddField(
            model_name='paymenthistory',
            name='payment',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.Payments'),
        ),
    ]

8f5cd513f1f556032c1f64b1e89dd1acbc631165
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('serverctl', '0004_auto_20170326_0550')]
    operations = [migrations.CreateModel(name='PaymentHistory', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('type', models.CharField(
        choices=[('CREATED', '請求'), ('PAID', '決済')], max_length=12))]),
        migrations.CreateModel(name='Payments', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('amount', models.IntegerField(default=0)), (
        'paid', models.BooleanField(default=False)), ('group', models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'serverctl.GameServerGroup')), ('player', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='serverctl.Player')
        )]), migrations.AlterField(model_name='gameserver', name=
        'created_at', field=models.DateTimeField(auto_now_add=True)),
        migrations.AlterField(model_name='serverhistory', name='created_at',
        field=models.DateTimeField(auto_now_add=True)), migrations.AddField
        (model_name='paymenthistory', name='payment', field=models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'serverctl.Payments'))]

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


class Migration(migrations.Migration):
    dependencies = [('serverctl', '0004_auto_20170326_0550')]
    operations = [migrations.CreateModel(name='PaymentHistory', fields=[(
        'id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('type', models.CharField(
        choices=[('CREATED', '請求'), ('PAID', '決済')], max_length=12))]),
        migrations.CreateModel(name='Payments', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('created_at', models.DateTimeField(
        auto_now_add=True)), ('amount', models.IntegerField(default=0)), (
        'paid', models.BooleanField(default=False)), ('group', models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'serverctl.GameServerGroup')), ('player', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='serverctl.Player')
        )]), migrations.AlterField(model_name='gameserver', name=
        'created_at', field=models.DateTimeField(auto_now_add=True)),
        migrations.AlterField(model_name='serverhistory', name='created_at',
        field=models.DateTimeField(auto_now_add=True)), migrations.AddField
        (model_name='paymenthistory', name='payment', field=models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'serverctl.Payments'))]

# -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-03-26 07:26
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('serverctl', '0004_auto_20170326_0550'),
    ]

    operations = [
        migrations.CreateModel(
            name='PaymentHistory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.CharField(choices=[('CREATED', '請求'), ('PAID', '決済')], max_length=12)),
            ],
        ),
        migrations.CreateModel(
            name='Payments',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('amount', models.IntegerField(default=0)),
                ('paid', models.BooleanField(default=False)),
                ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.GameServerGroup')),
                ('player', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.Player')),
            ],
        ),
        migrations.AlterField(
            model_name='gameserver',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True),
        ),
        migrations.AlterField(
            model_name='serverhistory',
            name='created_at',
            field=models.DateTimeField(auto_now_add=True),
        ),
        migrations.AddField(
            model_name='paymenthistory',
            name='payment',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='serverctl.Payments'),
        ),
    ]
