change columns in intent.model
This commit is contained in:
parent
3cd0ec3386
commit
146c17c0c0
@ -6,16 +6,12 @@ module.exports = (sequelize, DataTypes) => {
|
|||||||
autoIncrement: true,
|
autoIncrement: true,
|
||||||
allowNull: false
|
allowNull: false
|
||||||
},
|
},
|
||||||
command: {
|
name: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.STRING,
|
||||||
allowNull: false
|
allowNull: false
|
||||||
},
|
},
|
||||||
description: {
|
examples: {
|
||||||
type: DataTypes.STRING,
|
type: DataTypes.ARRAY(DataTypes.STRING),
|
||||||
allowNull: true
|
|
||||||
},
|
|
||||||
type: {
|
|
||||||
type: DataTypes.STRING,
|
|
||||||
allowNull: true
|
allowNull: true
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user