Add migrations for proxy models.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('document_comments', '0003_auto_20150729_2144'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='comment',
|
||||
name='comment',
|
||||
field=models.TextField(verbose_name='Comment'),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,36 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('document_indexing', '0009_auto_20150815_0351'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DocumentIndexInstanceNode',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Document index node instance',
|
||||
'proxy': True,
|
||||
'verbose_name_plural': 'Document indexes node instances',
|
||||
},
|
||||
bases=('document_indexing.indexinstancenode',),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='IndexInstance',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Index instance',
|
||||
'proxy': True,
|
||||
'verbose_name_plural': 'Index instances',
|
||||
},
|
||||
bases=('document_indexing.index',),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('dynamic_search', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='recentsearch',
|
||||
name='user',
|
||||
field=models.ForeignKey(editable=False, to=settings.AUTH_USER_MODEL, verbose_name='User'),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
25
mayan/apps/folders/migrations/0004_documentfolder.py
Normal file
25
mayan/apps/folders/migrations/0004_documentfolder.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('folders', '0003_auto_20150708_0334'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DocumentFolder',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Document folder',
|
||||
'proxy': True,
|
||||
'verbose_name_plural': 'Document folders',
|
||||
},
|
||||
bases=('folders.folder',),
|
||||
),
|
||||
]
|
||||
25
mayan/apps/tags/migrations/0006_documenttag.py
Normal file
25
mayan/apps/tags/migrations/0006_documenttag.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('tags', '0005_auto_20150718_0616'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='DocumentTag',
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Document tag',
|
||||
'proxy': True,
|
||||
'verbose_name_plural': 'Document tags',
|
||||
},
|
||||
bases=('tags.tag',),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user