Skip to content

Commit

Permalink
Rename EBI Seach last_indexed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed Feb 7, 2024
1 parent bfb1b54 commit 7dbbb14
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions emgapi/migrations/0017_auto_20240129_1401.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@ class Migration(migrations.Migration):
]

operations = [
migrations.RemoveField(
migrations.RenameField(
model_name='analysisjob',
name='last_indexed',
old_name='last_indexed',
new_name='last_ebi_search_indexed',
),
migrations.RemoveField(
migrations.RenameField(
model_name='study',
name='last_indexed',
),
migrations.AddField(
model_name='analysisjob',
name='last_ebi_search_indexed',
field=models.DateTimeField(blank=True, db_column='LAST_EBI_SEARCH_INDEXED', help_text='Date at which this model was last included in an EBI Search initial/incremental index.', null=True),
old_name='last_indexed',
new_name='last_ebi_search_indexed',
),
migrations.AddField(
model_name='analysisjob',
Expand All @@ -33,9 +30,4 @@ class Migration(migrations.Migration):
name='mgx_accession',
field=models.CharField(blank=True, db_column='MGX_ACCESSION', help_text='The Metagenomics Exchange accession.', max_length=10, null=True, unique=True),
),
migrations.AddField(
model_name='study',
name='last_ebi_search_indexed',
field=models.DateTimeField(blank=True, db_column='LAST_EBI_SEARCH_INDEXED', help_text='Date at which this model was last included in an EBI Search initial/incremental index.', null=True),
),
]

0 comments on commit 7dbbb14

Please sign in to comment.