mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
It works!
This commit is contained in:
parent
cbc8c25f3b
commit
855ee64097
17 changed files with 392 additions and 0 deletions
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue