Cloud-CV/EvalAI

View on GitHub
apps/challenges/migrations/0074_add_default_meta_attributes_field.py

Summary

Maintainability
A
55 mins
Test Coverage
# -*- coding: utf-8 -*-
# Generated by Django 1.11.23 on 2020-10-16 15:40
from __future__ import unicode_literals

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("challenges", "0073_add_inform_hosts_field")]

    operations = [
        migrations.AddField(
            model_name="challengephase",
            name="default_submission_meta_attributes",
            field=django.contrib.postgres.fields.jsonb.JSONField(
                blank=True, default=None, null=True
            ),
        ),
        migrations.AlterField(
            model_name="challenge",
            name="worker_cpu_cores",
            field=models.IntegerField(blank=True, default=256, null=True),
        ),
        migrations.AlterField(
            model_name="challenge",
            name="worker_memory",
            field=models.IntegerField(blank=True, default=512, null=True),
        ),
    ]