Skip to content

Commit

Permalink
Create organisation breached grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed Aug 6, 2024
1 parent d11a16c commit 5bf7970
Showing 1 changed file with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Generated by Django 3.2.25 on 2024-08-06 17:46

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("organisations", "0055_alter_percent_usage"),
]

operations = [
migrations.CreateModel(
name="OrganisationBreachedGracePeriod",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created_at", models.DateTimeField(auto_now_add=True, null=True)),
("updated_at", models.DateTimeField(auto_now=True, null=True)),
(
"organisation",
models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE,
related_name="breached_grace_period",
to="organisations.organisation",
),
),
],
),
]

0 comments on commit 5bf7970

Please sign in to comment.