mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Updated SQL for pool.payments with the transaction_fee value.
This commit is contained in:
@@ -2,4 +2,10 @@
|
||||
---------
|
||||
```sql
|
||||
ALTER TABLE monero_live.config MODIFY item_value TEXT;
|
||||
```
|
||||
|
||||
2/13/2017
|
||||
---------
|
||||
```sql
|
||||
ALTER TABLE pool.payments ADD transfer_fee BIGINT(20) DEFAULT 0 NULL;
|
||||
```
|
||||
+2
-1
@@ -59,7 +59,8 @@ CREATE TABLE payments
|
||||
bitcoin TINYINT(1) DEFAULT '0',
|
||||
amount BIGINT(20),
|
||||
block_id INT(11),
|
||||
payment_id VARCHAR(128)
|
||||
payment_id VARCHAR(128),
|
||||
transfer_fee BIGINT(20) DEFAULT '0'
|
||||
);
|
||||
CREATE UNIQUE INDEX payments_id_uindex ON payments (id);
|
||||
CREATE INDEX payments_transactions_id_fk ON payments (transaction_id);
|
||||
|
||||
Reference in New Issue
Block a user