mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.4 KiB
37 lines
1.4 KiB
# Generated by Django 3.2.11 on 2022-01-20 04:17
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('api', '0030_delete_autolabelingconfig'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.SeparateDatabaseAndState(
|
|
state_operations=[
|
|
migrations.CreateModel(
|
|
name='AutoLabelingConfig',
|
|
fields=[
|
|
('id',
|
|
models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('model_name', models.CharField(max_length=100)),
|
|
('model_attrs', models.JSONField(default=dict)),
|
|
('template', models.TextField(default='')),
|
|
('label_mapping', models.JSONField(blank=True, default=dict)),
|
|
('default', models.BooleanField(default=False)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
|
|
related_name='auto_labeling_config', to='api.project')),
|
|
],
|
|
),
|
|
],
|
|
database_operations=[]
|
|
)
|
|
]
|