-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(generic bp model): Changes to entity model
- Loading branch information
1 parent
6740b3f
commit 0aabb67
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
bpdm-gate/src/main/resources/db/migration/V4_0_0_14__generic_data_model_changes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Make field mandatory | ||
alter table business_partners | ||
alter column is_owner set not null; | ||
|
||
-- Rename columns to bnpl/bpns/bpna for consistency | ||
alter table business_partners | ||
rename column legal_entity_bpn to bpnl; | ||
alter table business_partners | ||
rename column site_bpn to bpns; | ||
alter table business_partners | ||
rename column address_bpn to bpna; |