lamassu-server/migrations/1572524820075-server-support-logs.js
2019-11-12 11:20:57 +00:00

15 lines
265 B
JavaScript

var db = require('./db')
exports.up = function (next) {
const sql =
[`create table server_support_logs (
id uuid PRIMARY KEY,
timestamp timestamptz not null default now() )`
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}