mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-24 16:32:21 +00:00
28 lines
999 B
Python
28 lines
999 B
Python
# Generated by Django 2.2.24 on 2021-09-05 19:16
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('note', '0005_auto_20210313_1235'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Trust',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('trusted', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='trusted', to='note.Note', verbose_name='trusted')),
|
|
('trusting', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='trusting', to='note.Note', verbose_name='trusting')),
|
|
],
|
|
options={
|
|
'verbose_name': 'frienship',
|
|
'verbose_name_plural': 'friendships',
|
|
'unique_together': {('trusting', 'trusted')},
|
|
},
|
|
),
|
|
]
|