Add migrations to add field related_name attribute
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.20 on 2019-04-29 19:22
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('document_indexing', '0014_auto_20180823_2353'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='index',
|
||||
name='document_types',
|
||||
field=models.ManyToManyField(related_name='indexes', to='documents.DocumentType', verbose_name='Document types'),
|
||||
),
|
||||
]
|
||||
20
mayan/apps/linking/migrations/0008_auto_20190429_1922.py
Normal file
20
mayan/apps/linking/migrations/0008_auto_20190429_1922.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.20 on 2019-04-29 19:22
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('linking', '0007_auto_20180823_2353'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='smartlink',
|
||||
name='document_types',
|
||||
field=models.ManyToManyField(related_name='smart_links', to='documents.DocumentType', verbose_name='Document types'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user