mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
It works!
This commit is contained in:
10
src/documents/models.py
Normal file
10
src/documents/models.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Document(models.Model):
|
||||
|
||||
sender = models.CharField(max_length=128, blank=True, db_index=True)
|
||||
title = models.CharField(max_length=128, blank=True, db_index=True)
|
||||
content = models.TextField(db_index=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
modified = models.DateTimeField(auto_now=True)
|
Reference in New Issue
Block a user