fix(migration): uncomment inventory-related entities in MigrateFresh function
Deploy Application / deploy (push) Successful in 24s Details

This commit is contained in:
Habib Fatkhul Rohman 2025-11-18 10:58:06 +07:00
parent 52dec2f37a
commit a26d719f1b
2 changed files with 5 additions and 5 deletions

View File

@ -71,10 +71,10 @@ func MigrateFresh(db *gorm.DB) error {
// &entities.MAisleEntity{}, // &entities.MAisleEntity{},
&entities.TAssignmentEntity{}, &entities.TAssignmentEntity{},
&entities.TAssignmentUserEntity{}, &entities.TAssignmentUserEntity{},
// &entities.TInventoryReceiptEntity{}, &entities.TInventoryReceiptEntity{},
// &entities.TInventoryReceiptLineEntity{}, &entities.TInventoryReceiptLineEntity{},
// &entities.TInventoryRequestEntity{}, &entities.TInventoryRequestEntity{},
// &entities.TInventoryRequestLineEntity{}, &entities.TInventoryRequestLineEntity{},
&entities.TInventoryIssueEntity{}, &entities.TInventoryIssueEntity{},
&entities.TInventoryIssueLineEntity{}, &entities.TInventoryIssueLineEntity{},
// &entities.InventoryTransactionEntity{}, // &entities.InventoryTransactionEntity{},

View File

@ -8,4 +8,4 @@ COPY . .
RUN go mod tidy RUN go mod tidy
CMD go run cmd/main.go --migrate && air CMD go run cmd/main.go --fresh && air