* [ADDED] More methods to our transaction class * `createDebitAPRecord` and `createDebitMPRecord`, will handle the * entire debit process * Adds Debit transaction * Adds TXFee transaction * mark transactions as archived * validate user is fully paid out * send notification to user * `getMPQueue` was added to unify the process of getting payout queues * [MOVED] Only one mail template for both payout methods * [ADDED] Some minor calls to user class * [ADDED] Full address validation to bitcoin class * [SQL] New SQL upgrade and Version Increment * Adding UNIQUE index to coin_address in accounts table * preperation for `sendmany` implementation
3 lines
178 B
SQL
3 lines
178 B
SQL
ALTER TABLE `accounts` ADD UNIQUE INDEX ( `coin_address` ) ;
|
|
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.5') ON DUPLICATE KEY UPDATE `value` = '0.0.5';
|