This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat. Added Indeces for Files and Families
- Loading branch information
1 parent
be456bb
commit 1ab6a2d
Showing
6 changed files
with
165 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
backend/core/analysis/migrations/0019_remove_dockerprocess_file_to_analyse_and_more.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,27 @@ | ||
# Generated by Django 4.2.2 on 2023-10-12 10:44 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core_analysis', '0018_alter_dockerprocess_resources'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='dockerprocess', | ||
name='file_to_analyse', | ||
), | ||
migrations.RemoveField( | ||
model_name='dockerprocess', | ||
name='owner', | ||
), | ||
migrations.DeleteModel( | ||
name='Analysis', | ||
), | ||
migrations.DeleteModel( | ||
name='DockerProcess', | ||
), | ||
] |
25 changes: 25 additions & 0 deletions
25
backend/core/fileupload/migrations/0012_file_core_fileup_owner_i_4178bf_idx_and_more.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,25 @@ | ||
# Generated by Django 4.2.2 on 2023-10-12 10:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core_fileupload', '0011_analysisresult'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['owner', 'confirmation_token'], name='core_fileup_owner_i_4178bf_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['confirmation_token'], name='core_fileup_confirm_22c787_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['family', 'version', 'is_confirmed'], name='core_fileup_family__df0347_idx'), | ||
), | ||
] |
41 changes: 41 additions & 0 deletions
41
backend/core/fileupload/migrations/0013_family_core_fileup_owner_i_4e6325_idx_and_more.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,41 @@ | ||
# Generated by Django 4.2.2 on 2023-10-12 10:50 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core_fileupload', '0012_file_core_fileup_owner_i_4178bf_idx_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name='family', | ||
index=models.Index(fields=['owner'], name='core_fileup_owner_i_4e6325_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['owner'], name='core_fileup_owner_i_3c733f_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['family'], name='core_fileup_family__57b383_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['version'], name='core_fileup_version_b47e16_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['is_confirmed'], name='core_fileup_is_conf_ba01cb_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='license', | ||
index=models.Index(fields=['label'], name='core_fileup_label_70ea9c_idx'), | ||
), | ||
migrations.AddIndex( | ||
model_name='tag', | ||
index=models.Index(fields=['label'], name='core_fileup_label_fa57bd_idx'), | ||
), | ||
] |
29 changes: 29 additions & 0 deletions
29
...nd/core/fileupload/migrations/0014_remove_file_core_fileup_owner_i_4178bf_idx_and_more.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,29 @@ | ||
# Generated by Django 4.2.2 on 2023-10-12 11:02 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core_fileupload', '0013_family_core_fileup_owner_i_4e6325_idx_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveIndex( | ||
model_name='file', | ||
name='core_fileup_owner_i_4178bf_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='file', | ||
name='core_fileup_confirm_22c787_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='file', | ||
name='core_fileup_owner_i_3c733f_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='file', | ||
name='core_fileup_version_b47e16_idx', | ||
), | ||
] |
29 changes: 29 additions & 0 deletions
29
...nd/core/fileupload/migrations/0015_remove_file_core_fileup_family__df0347_idx_and_more.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,29 @@ | ||
# Generated by Django 4.2.2 on 2023-10-13 06:50 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core_fileupload', '0014_remove_file_core_fileup_owner_i_4178bf_idx_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveIndex( | ||
model_name='file', | ||
name='core_fileup_family__df0347_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='license', | ||
name='core_fileup_label_70ea9c_idx', | ||
), | ||
migrations.RemoveIndex( | ||
model_name='tag', | ||
name='core_fileup_label_fa57bd_idx', | ||
), | ||
migrations.AddIndex( | ||
model_name='file', | ||
index=models.Index(fields=['owner'], name='core_fileup_owner_i_3c733f_idx'), | ||
), | ||
] |
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