Implement document trash can and soft delete support. First half or gh-issue 188.
This commit is contained in:
20
mayan/apps/documents/migrations/0009_document_in_trash.py
Normal file
20
mayan/apps/documents/migrations/0009_document_in_trash.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('documents', '0008_auto_20150624_0520'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='document',
|
||||
name='in_trash',
|
||||
field=models.BooleanField(default=False, verbose_name='In trash?', editable=False),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user