-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: SAP unique on (active, assignment_configuration)
- Loading branch information
1 parent
24321b8
commit baabdd1
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...rise_access/apps/subsidy_access_policy/migrations/0017_active_assignment_config_unique.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,22 @@ | ||
# Generated by Django 3.2.20 on 2023-09-11 19:25 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('content_assignments', '0003_drop_assignment_policy'), | ||
('subsidy_access_policy', '0016_assignment_config_fk'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='subsidyaccesspolicy', | ||
options={}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='subsidyaccesspolicy', | ||
unique_together={('active', 'assignment_configuration')}, | ||
), | ||
] |
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