|
|
# 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=[] ) ]
|