56 lines
1.6 KiB
Python
56 lines
1.6 KiB
Python
|
# Generated by Django 3.0.6 on 2020-06-21 11:10
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('uncloud_pay', '0016_auto_20200523_2138'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='BillRecord',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('usage_count', models.IntegerField(default=1)),
|
||
|
('creation_date', models.DateTimeField(auto_now_add=True)),
|
||
|
('starting_date', models.DateTimeField()),
|
||
|
('ending_date', models.DateTimeField()),
|
||
|
('bill', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='uncloud_pay.Bill')),
|
||
|
],
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='ordertimothee',
|
||
|
name='bill',
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='ordertimothee',
|
||
|
name='billing_address',
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='ordertimothee',
|
||
|
name='owner',
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='order',
|
||
|
name='bill',
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='order',
|
||
|
name='one_time_price',
|
||
|
),
|
||
|
migrations.RemoveField(
|
||
|
model_name='order',
|
||
|
name='recurring_price',
|
||
|
),
|
||
|
migrations.DeleteModel(
|
||
|
name='BillNico',
|
||
|
),
|
||
|
migrations.DeleteModel(
|
||
|
name='OrderTimothee',
|
||
|
),
|
||
|
]
|