init simple appreports

This commit is contained in:
2020-07-29 20:56:03 +02:00
parent 217775265f
commit 4296f42ee7
24 changed files with 1568 additions and 256 deletions

17
migrations/00000-init.js Normal file

@ -0,0 +1,17 @@
'use strict';
async function up (knex) {
await knex.schema.createTable ('log', (table) => {
table.increments ('id');
table.string ('app');
table.string ('message');
table.json ('data');
table.timestamp ('timestamp');
});
}
function down () {
// noop
}
module.exports = { up, down };