Updated SQL for pool.payments with the transaction_fee value.

This commit is contained in:
Alexander Blair
2017-02-13 15:08:20 -08:00
parent be346609b2
commit 4b765d6390
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -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
View File
@@ -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);