fix: contracts table fix, document file added
This commit is contained in:
@@ -9,7 +9,6 @@ from core.apps.contracts.validators.contracts import (
|
||||
|
||||
|
||||
class ContractModel(UUIDPrimaryKeyBaseModel):
|
||||
|
||||
name = models.CharField(
|
||||
_("name"),
|
||||
validators=[
|
||||
@@ -17,13 +16,17 @@ class ContractModel(UUIDPrimaryKeyBaseModel):
|
||||
],
|
||||
max_length=255
|
||||
)
|
||||
|
||||
document = models.FileField(
|
||||
_("Document"),
|
||||
null=False,
|
||||
blank=False,
|
||||
max_length=2048,
|
||||
)
|
||||
identifier = models.CharField(
|
||||
_("Identifier"),
|
||||
null=False,
|
||||
blank=False
|
||||
)
|
||||
|
||||
allow_add_files = models.BooleanField(default=False)
|
||||
allow_delete_files = models.BooleanField(default=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user