-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing fields to backend, fix migration error after merging with…
… main
- Loading branch information
1 parent
20ca912
commit 6909f33
Showing
4 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
ami/jobs/migrations/0013_merge_0011_alter_job_limit_0012_alter_job_limit.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,12 @@ | ||
# Generated by Django 4.2.10 on 2024-12-17 22:28 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("jobs", "0011_alter_job_limit"), | ||
("jobs", "0012_alter_job_limit"), | ||
] | ||
|
||
operations = [] |
39 changes: 39 additions & 0 deletions
39
ami/ml/migrations/0013_backend_description_backend_name_backend_slug_and_more.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,39 @@ | ||
# Generated by Django 4.2.10 on 2024-12-17 22:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("ml", "0012_backend_last_checked_backend_last_checked_live"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="backend", | ||
name="description", | ||
field=models.TextField(blank=True), | ||
), | ||
migrations.AddField( | ||
model_name="backend", | ||
name="name", | ||
field=models.CharField(default="ml_backend", max_length=255), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="backend", | ||
name="slug", | ||
field=models.SlugField(default="ml_backend", max_length=255, unique=True), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="backend", | ||
name="version", | ||
field=models.IntegerField(default=1), | ||
), | ||
migrations.AddField( | ||
model_name="backend", | ||
name="version_name", | ||
field=models.CharField(blank=True, max_length=255), | ||
), | ||
] |
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