-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create migration for adding image hash
- Loading branch information
1 parent
a09dc66
commit b7fd04e
Showing
1 changed file
with
22 additions
and
0 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,22 @@ | ||
# Generated by Django 3.2.16 on 2023-07-27 19:54 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('mlcube', '0003_auto_20221109_1340'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='mlcube', | ||
name='image_hash', | ||
field=models.CharField(blank=True, max_length=100), | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='mlcube', | ||
unique_together={('image_tarball_url', 'image_tarball_hash', 'image_hash', 'additional_files_tarball_url', 'additional_files_tarball_hash', 'git_mlcube_url', 'mlcube_hash', 'git_parameters_url', 'parameters_hash')}, | ||
), | ||
] |