Skip to content

Commit

Permalink
updated + squashed migrations
Browse files Browse the repository at this point in the history
Signed-off-by: Trey <[email protected]>
  • Loading branch information
TreyWW committed Aug 22, 2024
1 parent 071adf0 commit 30a3519
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 56 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 5.0.7 on 2024-08-07 21:40
# Generated by Django 5.0.7 on 2024-08-22 15:09

import backend.models
import django.core.validators
Expand All @@ -23,6 +23,11 @@ class Migration(migrations.Migration):
model_name="invoicereminder",
name="stored_schedule_arn",
),
migrations.AddField(
model_name="apiauthtoken",
name="administrator_service_type",
field=models.CharField(blank=True, max_length=64, null=True, verbose_name="Administrator Service Type"),
),
migrations.AddField(
model_name="invoicereminder",
name="boto_last_updated",
Expand Down Expand Up @@ -61,7 +66,7 @@ class Migration(migrations.Migration):
field=models.ImageField(blank=True, null=True, storage=backend.models._public_storage, upload_to="profile_pictures/"),
),
migrations.CreateModel(
name="InvoiceRecurringSet",
name="InvoiceRecurringProfile",
fields=[
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
("created_at", models.DateTimeField(auto_now_add=True)),
Expand Down Expand Up @@ -166,27 +171,27 @@ class Migration(migrations.Migration):
),
migrations.AddField(
model_name="invoice",
name="invoice_recurring_set",
name="invoice_recurring_profile",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="generated_invoices",
to="backend.invoicerecurringset",
to="backend.invoicerecurringprofile",
),
),
migrations.DeleteModel(
name="InvoiceOnetimeSchedule",
),
migrations.AddConstraint(
model_name="invoicerecurringset",
model_name="invoicerecurringprofile",
constraint=models.CheckConstraint(
check=models.Q(
models.Q(("organization__isnull", False), ("user__isnull", True)),
models.Q(("organization__isnull", True), ("user__isnull", False)),
_connector="OR",
),
name="backend_invoicerecurringset_check_user_or_organization",
name="backend_invoicerecurringprofile_check_user_or_organization",
),
),
]
18 changes: 0 additions & 18 deletions backend/migrations/0047_apiauthtoken_administrator_service_type.py

This file was deleted.

This file was deleted.

0 comments on commit 30a3519

Please sign in to comment.