From c5ff0fdfa9ec1213063ffdc5ba1a72946319d4cd Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 30 Aug 2022 10:36:18 -0700 Subject: user email and address fields --- db/models/users.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db') diff --git a/db/models/users.js b/db/models/users.js index d0a6f92a..d9180a7f 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -10,6 +10,15 @@ const attributes = { comment: null, field: "id" }, + address: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: false, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "address" + }, admin: { type: DataTypes.BOOLEAN, allowNull: true, -- cgit v1.2.3