docker cleaner

This commit is contained in:
Egor Matveev
2022-05-08 15:58:58 +03:00
parent 1030d50acb
commit ed23fe543b
4 changed files with 53 additions and 46 deletions

View File

@@ -0,0 +1,18 @@
# Generated by Django 3.2.4 on 2022-05-08 12:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Main', '0032_auto_20220408_0018'),
]
operations = [
migrations.AddField(
model_name='solution',
name='docker_instances',
field=models.JSONField(blank=True, default=list, null=True),
),
]

View File

@@ -21,6 +21,7 @@ class Solution(models.Model):
test = models.IntegerField(default=None, null=True, blank=True)
set = models.ForeignKey(Set, null=True, blank=True, on_delete=models.SET_NULL)
extras = models.JSONField(default=dict)
docker_instances = models.JSONField(null=True, blank=True, default=list)
_solutionfiles = None