@@ -0,0 +1,2484 @@
+# -*- coding: utf-8 -*-%0A# Generated by Django 1.9.2 on 2016-02-23 09:08%0Afrom __future__ import unicode_literals%0A%0Afrom django.db import migrations, models%0Aimport django.db.models.deletion%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        ('app', '0079_auto_20160223_1115'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.CreateModel(%0A            name='Charge',%0A            fields=%5B%0A                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),%0A                ('ch_id', models.CharField(max_length=40)),%0A                ('created', models.DateTimeField()),%0A                ('livemode', models.BooleanField(default=False)),%0A                ('paid', models.BooleanField(default=False)),%0A                ('refunded', models.BooleanField(default=False)),%0A                ('app', models.CharField(max_length=40)),%0A                ('channel', models.CharField(max_length=10)),%0A                ('order_no', models.CharField(max_length=20)),%0A                ('client_ip', models.CharField(max_length=50)),%0A                ('amount', models.IntegerField()),%0A                ('amount_settle', models.IntegerField()),%0A                ('currency', models.CharField(max_length=5)),%0A                ('subject', models.CharField(max_length=20)),%0A                ('body', models.CharField(max_length=200)),%0A                ('extra', models.CharField(max_length=200)),%0A                ('time_paid', models.DateTimeField()),%0A                ('time_expire', models.DateTimeField()),%0A                ('time_settle', models.DateTimeField(blank=True, null=True)),%0A                ('transaction_no', models.CharField(max_length=50)),%0A                ('amount_refunded', models.IntegerField(default=0)),%0A                ('failure_code', models.CharField(max_length=10)),%0A                ('failure_msg', models.CharField(max_length=30)),%0A                ('metadata', models.CharField(max_length=50)),%0A                ('credential', models.CharField(max_length=50)),%0A                ('description', models.CharField(max_length=50)),%0A            %5D,%0A            options=%7B%0A                'abstract': False,%0A            %7D,%0A        ),%0A        migrations.RemoveField(%0A            model_name='order',%0A            name='charge_id',%0A        ),%0A        migrations.AddField(%0A            model_name='charge',%0A            name='order',%0A            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.Order'),%0A        ),%0A    %5D%0A

Add charge model.