diff --git a/uncloud_pay/migrations/0012_billnico.py b/uncloud_pay/migrations/0012_billnico.py new file mode 100644 index 0000000..f69241d --- /dev/null +++ b/uncloud_pay/migrations/0012_billnico.py @@ -0,0 +1,29 @@ +# Generated by Django 3.0.6 on 2020-05-08 07:06 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion +import uuid + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('uncloud_pay', '0011_billingaddress_organization'), + ] + + operations = [ + migrations.CreateModel( + name='BillNico', + fields=[ + ('uuid', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), + ('creation_date', models.DateTimeField(auto_now_add=True)), + ('starting_date', models.DateTimeField()), + ('ending_date', models.DateTimeField()), + ('due_date', models.DateField()), + ('valid', models.BooleanField(default=True)), + ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), + ], + ), + ]