-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): Added Docket "d" and RECAPDocument "rd" search types in V4 …
…Search API
- Loading branch information
1 parent
102e7fc
commit 5745716
Showing
10 changed files
with
531 additions
and
268 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
cl/alerts/migrations/0009_alter_alert_search_types_noop.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Generated by Django 5.0.5 on 2024-04-25 21:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("alerts", "0008_add_scheduled_alert_hit_and_alert_type_to_alert"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="alert", | ||
name="alert_type", | ||
field=models.CharField( | ||
choices=[ | ||
("o", "Opinions"), | ||
("r", "RECAP"), | ||
("d", "RECAP Dockets"), | ||
("rd", "RECAP Documents"), | ||
("oa", "Oral Arguments"), | ||
("p", "People"), | ||
("pa", "Parenthetical"), | ||
], | ||
default="o", | ||
help_text="The type of search alert this is, one of: o (Opinions), r (RECAP), d (RECAP Dockets), rd (RECAP Documents), oa (Oral Arguments), p (People), pa (Parenthetical)", | ||
max_length=3, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="alertevent", | ||
name="alert_type", | ||
field=models.CharField( | ||
choices=[ | ||
("o", "Opinions"), | ||
("r", "RECAP"), | ||
("d", "RECAP Dockets"), | ||
("rd", "RECAP Documents"), | ||
("oa", "Oral Arguments"), | ||
("p", "People"), | ||
("pa", "Parenthetical"), | ||
], | ||
default="o", | ||
help_text="The type of search alert this is, one of: o (Opinions), r (RECAP), d (RECAP Dockets), rd (RECAP Documents), oa (Oral Arguments), p (People), pa (Parenthetical)", | ||
max_length=3, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="realtimequeue", | ||
name="item_type", | ||
field=models.CharField( | ||
choices=[ | ||
("o", "Opinions"), | ||
("r", "RECAP"), | ||
("d", "RECAP Dockets"), | ||
("rd", "RECAP Documents"), | ||
("oa", "Oral Arguments"), | ||
("p", "People"), | ||
("pa", "Parenthetical"), | ||
], | ||
db_index=True, | ||
help_text="the type of item this is, one of: o (Opinions), r (RECAP), d (RECAP Dockets), rd (RECAP Documents), oa (Oral Arguments), p (People), pa (Parenthetical)", | ||
max_length=3, | ||
), | ||
), | ||
] |
14 changes: 14 additions & 0 deletions
14
cl/alerts/migrations/0009_alter_alert_search_types_noop.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
BEGIN; | ||
-- | ||
-- Alter field alert_type on alert | ||
-- | ||
-- (no-op) | ||
-- | ||
-- Alter field alert_type on alertevent | ||
-- | ||
-- (no-op) | ||
-- | ||
-- Alter field item_type on realtimequeue | ||
-- | ||
-- (no-op) | ||
COMMIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.