This commit is contained in:
Josh Harvey 2016-06-01 02:35:29 +03:00
parent 35cbb46688
commit 0140e01c9f
5 changed files with 38 additions and 39 deletions

View file

@ -4,12 +4,10 @@ exports.up = function (next) {
var sql = [
`create table cash_out_hds (
session_id uuid PRIMARY KEY,
to_address text NOT NULL,
crypto_code text NOT NULL,
hd_path_prefix text NOT NULL,
hd_serial integer NOT NULL,
created timestamptz NOT NULL default now(),
unique (crypto_code, hd_serial)
unique (crypto_code, hd_serial),
)`
]
db.multi(sql, next)