feat(server): add attachment ORM models and table provisioning
Adds 5 tables in the CargoTrace schema: attachment_category, finished_goods_attachment, finished_goods_attachment_item, finished_goods_attachment_location, finished_goods_box_attachment_item. Includes a one-off create_all script and extends test cleanup. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
from app.models.finished_goods import (
|
||||
from app.models.finished_goods import ( # noqa: F401
|
||||
FinishedGoodsBox,
|
||||
FinishedGoodsBoxItem,
|
||||
FinishedGoodsLocation,
|
||||
)
|
||||
from app.models.attachment import ( # noqa: F401
|
||||
AttachmentCategory,
|
||||
FinishedGoodsAttachment,
|
||||
FinishedGoodsAttachmentItem,
|
||||
FinishedGoodsAttachmentLocation,
|
||||
FinishedGoodsBoxAttachmentItem,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"FinishedGoodsLocation",
|
||||
"FinishedGoodsBox",
|
||||
"FinishedGoodsBoxItem",
|
||||
"AttachmentCategory",
|
||||
"FinishedGoodsAttachment",
|
||||
"FinishedGoodsAttachmentItem",
|
||||
"FinishedGoodsAttachmentLocation",
|
||||
"FinishedGoodsBoxAttachmentItem",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user