.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
'use strict';
|
||||
'use strict'
|
||||
module.exports = (sequelize, DataTypes) => {
|
||||
const setting = sequelize.define('setting', {
|
||||
key: {
|
||||
key: {
|
||||
type: DataTypes.STRING,
|
||||
primaryKey: true,
|
||||
allowNull: false,
|
||||
index: true,
|
||||
index: true
|
||||
},
|
||||
value: DataTypes.JSON
|
||||
}, {});
|
||||
}, {})
|
||||
|
||||
return setting;
|
||||
};
|
||||
return setting
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user