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.
43 lines
1.7 KiB
43 lines
1.7 KiB
# Generated by Django 3.2.8 on 2022-01-13 01:54
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('roles', '0003_delete_member'),
|
|
('api', '0028_auto_20220111_0655'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.SeparateDatabaseAndState(
|
|
state_operations=[
|
|
migrations.CreateModel(
|
|
name='Member',
|
|
fields=[
|
|
('id',
|
|
models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('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='role_mappings',
|
|
to='api.project')),
|
|
('role', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='roles.role')),
|
|
('user',
|
|
models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='role_mappings',
|
|
to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
options={
|
|
'unique_together': {('user', 'project')},
|
|
},
|
|
),
|
|
],
|
|
database_operations=[]
|
|
)
|
|
]
|