Custom BTCPay donation integration

fixes #122
This commit is contained in:
softsimon
2020-10-07 20:15:42 +07:00
parent 774893f2fc
commit a07a4de255
14 changed files with 359 additions and 15 deletions

View File

@@ -84,3 +84,19 @@ ALTER TABLE `transactions`
ALTER TABLE `statistics`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
CREATE TABLE `donations` (
`id` int(11) NOT NULL,
`added` datetime NOT NULL,
`amount` float NOT NULL,
`handle` varchar(250) NOT NULL,
`order_id` varchar(25) NOT NULL,
`imageUrl` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `donations`
ADD PRIMARY KEY (`id`);
ALTER TABLE `donations`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;