Skip to content

Commit

Permalink
fixes migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
actlikewill committed Oct 11, 2024
1 parent 32af9e4 commit 81269b2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 47 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.2.15 on 2024-10-09 13:12
# Generated by Django 4.2.16 on 2024-10-11 13:46

import django.db.models.deletion
from django.db import migrations, models
Expand All @@ -7,10 +7,30 @@
class Migration(migrations.Migration):

dependencies = [
("peachjam", "0164_peachjamsettings_robots_txt"),
("peachjam", "0165_editactivity"),
]

operations = [
migrations.AlterField(
model_name="coredocument",
name="doc_type",
field=models.CharField(
choices=[
("core_document", "Core Document"),
("gazette", "Gazette"),
("generic_document", "Generic Document"),
("judgment", "Judgment"),
("legal_instrument", "Legal Instrument"),
("legislation", "Legislation"),
("book", "Book"),
("journal", "Journal"),
("causelist", "Cause List"),
],
default="core_document",
max_length=255,
verbose_name="document type",
),
),
migrations.CreateModel(
name="CauseList",
fields=[
Expand All @@ -30,6 +50,7 @@ class Migration(migrations.Migration):
models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.PROTECT,
related_name="causelists",
to="peachjam.court",
verbose_name="court",
),
Expand Down

0 comments on commit 81269b2

Please sign in to comment.