From c4605df28a3f2a103ad56ff93fc2c7eebebb169c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 1 Apr 2020 15:04:43 -0700 Subject: unit field --- db/models/users.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models') diff --git a/db/models/users.js b/db/models/users.js index d5b1f5b8..48e8c94f 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -46,6 +46,15 @@ const attributes = { comment: null, field: "confidential" }, + unit: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: 'SAT', + primaryKey: false, + autoIncrement: false, + comment: null, + field: "unit" + }, address: { type: DataTypes.STRING(255), allowNull: true, -- cgit v1.2.3