-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Fixes #2478 # Changes - [ ] `max_volume_factor` column is renamed to `surplus_max_volume_factor` in order to align with the naming convention - [ ] Postgres roundtrip tests - [ ] Readme
- Loading branch information
1 parent
06df38c
commit 55d7a6d
Showing
5 changed files
with
107 additions
and
60 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
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
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 @@ | ||
-- Rename max_volume_factor column | ||
ALTER TABLE fee_policies | ||
RENAME COLUMN max_volume_factor TO surplus_max_volume_factor; | ||
|
||
-- Add `price_improvement` policy fee kind | ||
ALTER TYPE PolicyKind ADD VALUE 'priceimprovement'; | ||
|
||
-- Add price improvement fee columns | ||
ALTER TABLE fee_policies | ||
ADD COLUMN price_improvement_factor double precision, | ||
ADD COLUMN price_improvement_max_volume_factor double precision; |