mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
add comment function
This commit is contained in:

committed by
Michael Shamoon

parent
c2fda245ac
commit
278e9c12e1
19
src/documents/migrations/1023_add_comments.py
Normal file
19
src/documents/migrations/1023_add_comments.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('documents', '1016_auto_20210317_1351'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Comment',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('comment', models.TextField()),
|
||||
('created', models.DateTimeField(auto_now_add=True)),
|
||||
('document_id', models.PositiveIntegerField()),
|
||||
('user_id', models.PositiveIntegerField())
|
||||
],
|
||||
)
|
||||
]
|
Reference in New Issue
Block a user