From 67af7b5465576f9e3de2ec3ebcf8d98767803bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Fri, 8 May 2020 11:43:01 +0200 Subject: [PATCH] Add missing billnico migration --- uncloud_pay/migrations/0012_billnico.py | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 uncloud_pay/migrations/0012_billnico.py 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)), + ], + ), + ]