Skip to content
Snippets Groups Projects
Verified Commit 8cede6df authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Nuke the MLToolType

parent d69440cc
No related branches found
No related tags found
No related merge requests found
# Generated by Django 2.2.11 on 2020-05-19 14:55
import uuid
from enum import Enum
import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
import enumfields.fields
from django.db import migrations, models
import arkindex_common.ml_tool
class Migration(migrations.Migration):
......@@ -23,7 +22,7 @@ class Migration(migrations.Migration):
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('name', models.CharField(max_length=100)),
('slug', models.CharField(max_length=100)),
('type', enumfields.fields.EnumField(enum=arkindex_common.ml_tool.MLToolType, max_length=50)),
('type', enumfields.fields.EnumField(enum=Enum('MLToolType', ''), max_length=50)),
('repository', models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name='workers',
......
......@@ -6,12 +6,12 @@ import django.contrib.postgres.fields.hstore
import django.db.models.deletion
import enumfields.fields
from django.db import migrations, models
from enumfields import Enum
import arkindex.documents.dates
import arkindex.documents.models
import arkindex.project.fields
import arkindex_common.enums
import arkindex_common.ml_tool
class Migration(migrations.Migration):
......@@ -66,7 +66,7 @@ class Migration(migrations.Migration):
name='DataSource',
fields=[
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('type', enumfields.fields.EnumField(enum=arkindex_common.ml_tool.MLToolType, max_length=10)),
('type', enumfields.fields.EnumField(enum=Enum('MLToolType', ''), max_length=10)),
('slug', models.CharField(max_length=100)),
('name', models.CharField(max_length=100)),
('revision', models.CharField(max_length=100)),
......
# Generated by Django 2.2.10 on 2020-05-19 14:59
from enum import Enum
import enumfields.fields
from django.db import migrations
import arkindex_common.ml_tool
class Migration(migrations.Migration):
......@@ -16,6 +16,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='datasource',
name='type',
field=enumfields.fields.EnumField(enum=arkindex_common.ml_tool.MLToolType, max_length=50),
field=enumfields.fields.EnumField(enum=Enum('MLToolType', ''), max_length=50),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment