summaryrefslogtreecommitdiff
path: root/models/filter.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-09 15:31:56 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-09 15:31:56 +0200
commitb3758f0394a392867310ac7d368fda3ce909f7a7 (patch)
tree581ab405caa98d65685f4e1c983822a818d0f742 /models/filter.js
parentf950bbfcde927ebff3d6a7c341851d6e4c34924b (diff)
downloadorm-b3758f0394a392867310ac7d368fda3ce909f7a7.tar.gz
orm-b3758f0394a392867310ac7d368fda3ce909f7a7.zip
hotfixes for cruncher development
Diffstat (limited to 'models/filter.js')
-rw-r--r--models/filter.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/filter.js b/models/filter.js
index 4ba3966..fc340d0 100644
--- a/models/filter.js
+++ b/models/filter.js
@@ -8,6 +8,10 @@ module.exports = function(sequelize, DataTypes) {
primaryKey: true,
autoIncrement: true
},
+ name: {
+ type: DataTypes.STRING(191),
+ allowNull: false
+ },
filter_on: {
type: DataTypes.STRING(191),
allowNull: false