Skip to content

Commit

Permalink
Rework migration files after another merge from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredeen committed Feb 21, 2025
1 parent 7c9a735 commit 883f877
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 27 deletions.
26 changes: 0 additions & 26 deletions apps/migrations/0023_k8suserappstatus.py

This file was deleted.

16 changes: 15 additions & 1 deletion apps/migrations/0024_baseappinstance_latest_user_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,24 @@

class Migration(migrations.Migration):
dependencies = [
("apps", "0023_k8suserappstatus"),
("apps", "0023_apps_gpu_enabled"),
]

operations = [
migrations.CreateModel(
name="K8sUserAppStatus",
fields=[
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
("info", models.JSONField(blank=True, null=True)),
("status", models.CharField(max_length=15, null=True)),
("time", models.DateTimeField(auto_now_add=True)),
],
options={
"verbose_name": "k8s User App Status",
"verbose_name_plural": "k8s User App Statuses",
"get_latest_by": "time",
},
),
migrations.AddField(
model_name="baseappinstance",
name="latest_user_action",
Expand Down

0 comments on commit 883f877

Please sign in to comment.