-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple payout targets (issue #113)
- Loading branch information
Showing
8 changed files
with
133 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- SQL Migration from v0.1.0-beta2 to v0.1.1 | ||
|
||
ALTER TABLE payment DROP COLUMN pay_to; | ||
ALTER TABLE payment DROP COLUMN amount; | ||
ALTER TABLE payment ADD COLUMN total NUMERIC(18,8) NOT NULL; | ||
|
||
CREATE TABLE IF NOT EXISTS output ( | ||
payment_id INTEGER NOT NULL, | ||
vout INTEGER NOT NULL, | ||
pay_to TEXT NOT NULL, | ||
amount NUMERIC(18,8) NOT NULL, | ||
deduct_fee_percent NUMERIC(18,8) NOT NULL, | ||
PRIMARY KEY (payment_id, vout) | ||
); |
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
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
Oops, something went wrong.