added unique columns constraints to Meta options

This commit is contained in:
collerek
2020-10-01 11:42:20 +02:00
parent c4d1d00ad3
commit d0b6e75470
7 changed files with 107 additions and 42 deletions

View File

@ -14,6 +14,7 @@ from ormar.fields import (
Text,
Time,
UUID,
UniqueColumns,
)
from ormar.models import Model
from ormar.queryset import QuerySet
@ -51,4 +52,5 @@ __all__ = [
"RelationType",
"Undefined",
"UUID",
"UniqueColumns",
]