WIP cleaned up migrations
This commit is contained in:
parent
78f8d08d7d
commit
fe008a9db6
4 changed files with 57 additions and 57 deletions
|
|
@ -25,20 +25,6 @@ exports.up = function(next) {
|
|||
'created timestamp NOT NULL DEFAULT now() ' +
|
||||
')',
|
||||
|
||||
'CREATE TABLE IF NOT EXISTS transactions ( ' +
|
||||
'id uuid PRIMARY KEY, ' +
|
||||
'status text NOT NULL, ' +
|
||||
'tx_hash text, ' +
|
||||
'device_fingerprint text, ' +
|
||||
'to_address text NOT NULL, ' +
|
||||
'satoshis integer, ' +
|
||||
'currency_code text, ' +
|
||||
'fiat decimal, ' +
|
||||
'error text, ' +
|
||||
'created timestamp NOT NULL DEFAULT now(), ' +
|
||||
'completed timestamp ' +
|
||||
')',
|
||||
|
||||
'CREATE TABLE IF NOT EXISTS users ( ' +
|
||||
'id serial PRIMARY KEY, ' +
|
||||
'userName text NOT NULL UNIQUE, ' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue