fix: rebase issues and code style
This commit is contained in:
parent
703c5d7c91
commit
c100c11a2f
20 changed files with 28 additions and 419 deletions
|
|
@ -2,14 +2,6 @@ const db = require('./db')
|
|||
|
||||
exports.up = function (next) {
|
||||
var sqls = [
|
||||
'create table server_logs ( ' +
|
||||
'id uuid PRIMARY KEY, ' +
|
||||
'device_id text, ' +
|
||||
'log_level text, ' +
|
||||
'timestamp timestamptz DEFAULT now(), ' +
|
||||
'message text, ' +
|
||||
'meta json)',
|
||||
|
||||
'CREATE TABLE IF NOT EXISTS user_config ( ' +
|
||||
'id serial PRIMARY KEY, ' +
|
||||
'type text NOT NULL, ' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue