-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add typechoices field in Job UPDATE_USER_BITMAP
- Loading branch information
1 parent
5fa8422
commit aed891c
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
impresso/migrations/0048_userrequest_plan_alter_job_extra_alter_job_type.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,28 @@ | ||
# Generated by Django 5.0.8 on 2024-11-25 07:29 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('impresso', '0047_userrequest_notes'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='userrequest', | ||
name='plan', | ||
field=models.CharField(choices=[('plan-educational', 'Educational'), ('plan-researcher', 'Researcher'), ('plan-basic', 'Basic')], default='plan-basic', max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='job', | ||
name='extra', | ||
field=models.TextField(default='{}'), | ||
), | ||
migrations.AlterField( | ||
model_name='job', | ||
name='type', | ||
field=models.CharField(choices=[('BCQ', 'Bulk collection from query'), ('BCT', 'Bulk collection from query TR passages'), ('DCO', 'Delete collection'), ('IDX', 'Index collection in search engine'), ('IDL', 'Index only collection for a few content items'), ('EXC', 'Export collection as CSV'), ('EXP', 'Export query as CSV'), ('TES', '10 minutes countdown, 1 percent every 6 seconds'), ('IMG', 'Generate vector signature for the image and store the result in the db'), ('ITR', 'Sync coll. to related TR passages'), ('RDX', 'Remove collection from solr index'), ('RTR', 'Remove coll. from SOLR TR index')], max_length=3), | ||
), | ||
] |
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 5.0.8 on 2024-11-25 07:36 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('impresso', '0048_userrequest_plan_alter_job_extra_alter_job_type'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='userrequest', | ||
name='plan', | ||
), | ||
] |
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,18 @@ | ||
# Generated by Django 5.0.8 on 2024-11-30 09:19 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('impresso', '0049_remove_userrequest_plan'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='job', | ||
name='type', | ||
field=models.CharField(choices=[('BCQ', 'Bulk collection from query'), ('BCT', 'Bulk collection from query TR passages'), ('DCO', 'Delete collection'), ('IDX', 'Index collection in search engine'), ('IDL', 'Index only collection for a few content items'), ('EXC', 'Export collection as CSV'), ('EXP', 'Export query as CSV'), ('TES', '10 minutes countdown, 1 percent every 6 seconds'), ('IMG', 'Generate vector signature for the image and store the result in the db'), ('ITR', 'Sync coll. to related TR passages'), ('RDX', 'Remove collection from solr index'), ('RTR', 'Remove coll. from SOLR TR index'), ('UUB', 'Update user bitmap')], max_length=3), | ||
), | ||
] |
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