From 353761b07015a26841549cc259ae0687bc8e4865 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Wed, 10 Oct 2018 15:00:56 +0000 Subject: [registration] Add dbs and code for the registration scripts Add Table for the registration hooks. Add Table for the hooks - groups association. Add nexthook for the minilinux to pull the next bash script. Add state for setting the new script after completing the current one. --- server/models/client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/models/client.js') diff --git a/server/models/client.js b/server/models/client.js index c279cfc..6483573 100644 --- a/server/models/client.js +++ b/server/models/client.js @@ -11,7 +11,8 @@ module.exports = (sequelize, DataTypes) => { description: DataTypes.STRING(2048), ip: DataTypes.STRING, mac: DataTypes.STRING, - uuid: DataTypes.STRING + uuid: DataTypes.STRING, + registrationState: DataTypes.STRING }, { timestamps: false }) -- cgit v1.2.3-55-g7522