Add and use pre-commit hooks
This commit is contained in:
parent
eab379a028
commit
b2eef830d8
10 changed files with 66 additions and 18 deletions
|
|
@ -82,7 +82,10 @@ class Migration(migrations.Migration):
|
|||
(
|
||||
"id",
|
||||
models.TextField(
|
||||
help_text="The unique Twitch identifier for the organization.", primary_key=True, serialize=False, verbose_name="Organization ID"
|
||||
help_text="The unique Twitch identifier for the organization.",
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="Organization ID",
|
||||
),
|
||||
),
|
||||
("name", models.TextField(help_text="Display name of the organization.", unique=True, verbose_name="Name")),
|
||||
|
|
@ -179,7 +182,10 @@ class Migration(migrations.Migration):
|
|||
(
|
||||
"benefits",
|
||||
models.ManyToManyField(
|
||||
help_text="Benefits unlocked by this drop.", related_name="drops", through="twitch.DropBenefitEdge", to="twitch.dropbenefit"
|
||||
help_text="Benefits unlocked by this drop.",
|
||||
related_name="drops",
|
||||
through="twitch.DropBenefitEdge",
|
||||
to="twitch.dropbenefit",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
|
@ -200,7 +206,9 @@ class Migration(migrations.Migration):
|
|||
model_name="dropbenefitedge",
|
||||
name="drop",
|
||||
field=models.ForeignKey(
|
||||
help_text="The time-based drop in this relationship.", on_delete=django.db.models.deletion.CASCADE, to="twitch.timebaseddrop"
|
||||
help_text="The time-based drop in this relationship.",
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
to="twitch.timebaseddrop",
|
||||
),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue