aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/models/proposals.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/proposals.js b/db/models/proposals.js
index 350bdab8..6d7ee40e 100644
--- a/db/models/proposals.js
+++ b/db/models/proposals.js
@@ -82,6 +82,15 @@ const attributes = {
comment: null,
field: "text"
},
+ public: {
+ type: DataTypes.BOOLEAN,
+ allowNull: false,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "public"
+ },
accepted: {
type: DataTypes.BOOLEAN,
allowNull: false,