mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-30 04:13:01 +00:00
29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
|
# Generated by Django 2.2.28 on 2024-08-01 12:36
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('note', '0006_trust'),
|
||
|
('activity', '0003_auto_20240323_1422'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Opener',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('activity', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='opener', to='activity.Activity', verbose_name='activity')),
|
||
|
('opener', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='activity_responsible', to='note.Note', verbose_name='opener')),
|
||
|
],
|
||
|
options={
|
||
|
'verbose_name': 'opener',
|
||
|
'verbose_name_plural': 'openers',
|
||
|
'unique_together': {('opener', 'activity')},
|
||
|
},
|
||
|
),
|
||
|
]
|