-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S3File model: add version and change task-run to work-id
- Loading branch information
Showing
7 changed files
with
137 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 2.1.4 on 2019-03-06 00:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('home', '0021_auto_20190304_0300'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='s3file', | ||
name='version', | ||
field=models.IntegerField(default=1), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='s3file', | ||
name='work_id', | ||
field=models.TextField(default=1), | ||
preserve_default=False, | ||
), | ||
migrations.RemoveField( | ||
model_name='s3file', | ||
name='task_run', | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='s3file', | ||
unique_together={('version', 'what', 'where', 'work_id')}, | ||
), | ||
] |
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,22 @@ | ||
# Generated by Django 2.1.4 on 2019-03-06 02:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('home', '0022_auto_20190306_0017'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='s3file', | ||
options={'ordering': ('-version',)}, | ||
), | ||
migrations.AlterField( | ||
model_name='s3file', | ||
name='work_id', | ||
field=models.TextField(blank=True, null=True), | ||
), | ||
] |
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
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
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