diff --git a/emgapi/migrations/0017_auto_20240129_1401.py b/emgapi/migrations/0017_auto_20240129_1401.py index e8e9d380e..9bf204673 100644 --- a/emgapi/migrations/0017_auto_20240129_1401.py +++ b/emgapi/migrations/0017_auto_20240129_1401.py @@ -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', @@ -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), - ), ]