-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the extra_data field on the DiscoveredPackage model #191
Signed-off-by: Thomas Druez <tdruez@nexb.com>
- Loading branch information
Showing
4 changed files
with
64 additions
and
20 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
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 3.2.4 on 2021-07-01 15:19 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('scanpipe', '0007_resource_is_binary_is_text_is_archive'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='discoveredpackage', | ||
name='extra_data', | ||
field=models.JSONField(blank=True, default=dict, help_text='Optional mapping of extra data key/values.'), | ||
), | ||
migrations.AlterField( | ||
model_name='project', | ||
name='extra_data', | ||
field=models.JSONField(blank=True, default=dict, help_text='Optional mapping of extra data key/values.'), | ||
), | ||
] |
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