aboutsummaryrefslogtreecommitdiffstats
path: root/db/normalized/accounts.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/normalized/accounts.js')
-rw-r--r--db/normalized/accounts.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/normalized/accounts.js b/db/normalized/accounts.js
index d09f2dcf..6136d0a0 100644
--- a/db/normalized/accounts.js
+++ b/db/normalized/accounts.js
@@ -11,7 +11,10 @@ exports.up = function(knex) {
t.enu('network', ['Bitcoin', 'Liquid', 'Lightning', 'CoinOS']).notNull();
- // t.string('contract');
+ t.longtext('contract').collate('utf8mb4').nullable(); // custodial ?
+
+ // knex.raw("ALTER TABLE accounts MODIFY `contract` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL")
+
// t.string('hide');
// t.string('index');