4 changed files with 28 additions and 10 deletions
@ -0,0 +1,19 @@ |
|||
'use strict'; |
|||
|
|||
async function list (ctx) { |
|||
try { |
|||
const models = ctx.fs.dc.models; |
|||
|
|||
ctx.status = 20; |
|||
} catch (error) { |
|||
ctx.fs.logger.error(`path: ${ctx.path}, error: error`); |
|||
ctx.status = 400; |
|||
ctx.body = { |
|||
message: typeof error == 'string' ? error : undefined |
|||
} |
|||
} |
|||
} |
|||
|
|||
module.exports = { |
|||
list |
|||
}; |
@ -1,4 +1,5 @@ |
|||
alter TABLE app_alarm add screenshot varchar(1024); alter TABLE app_alarm add confirm_time timestamp |
|||
WITH time zone; comment |
|||
ON column app_alarm.confirm_time is '确认时间'; alter TABLE app_alarm add confirm_auto bool default false; comment |
|||
ON column app_alarm.confirm_auto is '是否自动恢复'; |
|||
alter TABLE app_alarm add screenshot varchar(1024); |
|||
alter TABLE app_alarm add confirm_time timestamp WITH time zone; |
|||
comment ON column app_alarm.confirm_time is '确认时间'; |
|||
alter TABLE app_alarm add confirm_auto bool default false; |
|||
comment ON column app_alarm.confirm_auto is '是否自动恢复'; |
Loading…
Reference in new issue