домен обновлен
This commit is contained in:
@@ -10,7 +10,6 @@ if TYPE_CHECKING:
|
||||
from .channel import Channel
|
||||
from .creative import Creative
|
||||
from .project import Project
|
||||
from .workspace import Workspace
|
||||
|
||||
|
||||
class PurchaseStatus(enum.StrEnum):
|
||||
@@ -54,9 +53,9 @@ class Purchase(TimestampedModel):
|
||||
'models.Creative', related_name='purchases', on_delete=fields.CASCADE, index=True
|
||||
)
|
||||
|
||||
workspace: fields.ForeignKeyRelation['Workspace'] = fields.ForeignKeyField(
|
||||
'models.Workspace', related_name='purchases', on_delete=fields.CASCADE, index=True
|
||||
)
|
||||
if TYPE_CHECKING:
|
||||
project_id: uuid.UUID
|
||||
creative_id: uuid.UUID
|
||||
|
||||
class Meta:
|
||||
table = 'purchase'
|
||||
|
||||
Reference in New Issue
Block a user