Skip to content

Commit

Permalink
Add KPIs table
Browse files Browse the repository at this point in the history
  • Loading branch information
erssebaggala committed Oct 17, 2019
1 parent a13c333 commit b5ae3f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions db/migrations/1571305646265_Create-kpi-table.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
exports.shorthands = undefined;

exports.up = (pgm) => {
pgm.createTable({schema: "pm", name: "kpis"}, {id: "id", load_datetime: "load_datetime", data: "data"});
};

exports.down = (pgm) => {
pgm.dropTable({schema: "pm", name: 'kpis'});
};

0 comments on commit b5ae3f2

Please sign in to comment.