mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
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.
28 lines
1.0 KiB
28 lines
1.0 KiB
# Generated by Django 3.2.3 on 2021-06-07 01:48
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('api', '0014_auto_20210603_0438'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='ExampleState',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('confirmed_at', models.DateTimeField(auto_now=True)),
|
|
('confirmed_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
('example', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='states', to='api.example')),
|
|
],
|
|
options={
|
|
'unique_together': {('example', 'confirmed_by')},
|
|
},
|
|
),
|
|
]
|