fix(migration): uncomment inventory-related entities in MigrateFresh function
Deploy Application / deploy (push) Successful in 24s
Details
Deploy Application / deploy (push) Successful in 24s
Details
This commit is contained in:
parent
52dec2f37a
commit
a26d719f1b
|
|
@ -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{},
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue