Skip to content

Commit

Permalink
Improved: puts dates in migration services to be able to remove them …
Browse files Browse the repository at this point in the history
…later
  • Loading branch information
JacquesLeRoux committed Feb 10, 2021
1 parent e7b3169 commit a608fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.apache.ofbiz.entity.GenericValue

/*
* Migrate all elements present on OldOrderBlacklist and OldOrderBlacklistType to respectively OrderDenylist and OrderDenylistType entities
* Update service for Deprecate since: branch release
* Update service created 2021-02
*/
def migrateOldOrderBlacklistAndOldOrderBlacklistType() {
List<GenericValue> oldOrderBlacklist = delegator.findAll("OldOrderBlacklist", false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.apache.ofbiz.entity.GenericValue

/*
* Migrate all element present on entity OldPicklistStatusHistory to entity PickListStatus
* Update service for Deprecate since: branch release
* Update service created 2019-09
*/
def migrateOldPicklistStatusHistoryToPickListStatus() {
List<GenericValue> oldPicklistStatusHistories = delegator.findAll("OldPicklistStatusHistory", false)
Expand All @@ -36,4 +36,4 @@ def migrateOldPicklistStatusHistoryToPickListStatus() {
it.remove()
}
return success()
}
}

0 comments on commit a608fa4

Please sign in to comment.