fix migrations bug

This commit is contained in:
Josh Harvey 2016-05-23 14:23:37 +03:00
parent 70366e139f
commit f0994fd9a7

View file

@ -10,7 +10,7 @@ exports.up = function (next) {
'path text NOT NULL, ' + 'path text NOT NULL, ' +
'method text NOT NULL, ' + 'method text NOT NULL, ' +
'body json NOT NULL, ' + 'body json NOT NULL, ' +
'created timestampz NOT NULL DEFAULT now(), ' + 'created timestamptz NOT NULL DEFAULT now(), ' +
'UNIQUE (device_fingerprint, session_id, path, method) ' + 'UNIQUE (device_fingerprint, session_id, path, method) ' +
')', next) ')', next)
} }