-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify the site models to reflect Remote Signer capabilities.
attach admin rcrainfo profile to a haztrak site instead of the user's profile rename last_sync_date to last_rcrainfo_manifest_sync to be more clear on what is being synced add properties to haztrak profile to use an admin's rcrainfo profile rename last_rcra_sync to last_rcrainfo_manifest_sync for clarity
- Loading branch information
1 parent
a692ce4
commit 6461c5b
Showing
14 changed files
with
153 additions
and
24 deletions.
There are no files selected for viewing
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
23 changes: 23 additions & 0 deletions
23
server/apps/core/migrations/0004_haztrakprofile_admin_rcrainfo_profile.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,23 @@ | ||
# Generated by Django 4.2.7 on 2023-11-08 17:29 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0003_alter_haztrakprofile_user"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="haztrakprofile", | ||
name="admin_rcrainfo_profile", | ||
field=models.ForeignKey( | ||
default=None, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="core.rcraprofile", | ||
), | ||
), | ||
] |
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
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
19 changes: 19 additions & 0 deletions
19
server/apps/sites/migrations/0003_alter_site_last_rcrainfo_manifest_sync.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,19 @@ | ||
# Generated by Django 4.2.7 on 2023-11-08 19:32 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("sites", "0002_sitepermissions"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="site", | ||
name="last_rcra_sync", | ||
field=models.DateTimeField( | ||
blank=True, null=True, verbose_name="last RCRAInfo manifest sync date" | ||
), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
server/apps/sites/migrations/0004_site_admin_rcrainfo_profile.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,23 @@ | ||
# Generated by Django 4.2.7 on 2023-11-08 19:38 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0004_haztrakprofile_admin_rcrainfo_profile"), | ||
("sites", "0003_alter_site_last_rcrainfo_manifest_sync"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="site", | ||
name="admin_rcrainfo_profile", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="core.rcraprofile", | ||
), | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
server/apps/sites/migrations/0005_rename_last_rcra_sync_site_last_rcrainfo_manifest_sync.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,17 @@ | ||
# Generated by Django 4.2.7 on 2023-11-08 20:02 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("sites", "0004_site_admin_rcrainfo_profile"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="site", | ||
old_name="last_rcra_sync", | ||
new_name="last_rcrainfo_manifest_sync", | ||
), | ||
] |
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
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
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