From 786874dbb6d875e039d3a1d4fdf6ad2cc688911e Mon Sep 17 00:00:00 2001 From: Joe Roberts Date: Mon, 5 Jun 2017 10:08:51 +0100 Subject: [PATCH] Update dependent device DB Change-type: patch --- src/db.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/db.coffee b/src/db.coffee index b0d7fa6e..fc06c60e 100644 --- a/src/db.coffee +++ b/src/db.coffee @@ -80,6 +80,7 @@ knex.init = Promise.all([ t.string('commit') t.string('imageId') t.json('config') + t.json('environment') knex.schema.hasTable('dependentDevice') .then (exists) -> @@ -88,6 +89,7 @@ knex.init = Promise.all([ t.increments('id').primary() t.string('uuid') t.string('appId') + t.string('localId') t.string('device_type') t.string('logs_channel') t.string('deviceId') @@ -95,6 +97,8 @@ knex.init = Promise.all([ t.string('name') t.string('status') t.string('download_progress') + t.string('is_managed_by') + t.dateTime('lock_expiry_date') t.string('commit') t.string('targetCommit') t.json('environment')