change columns in intent.model

This commit is contained in:
Apher 2026-07-07 01:40:01 +00:00
parent 3cd0ec3386
commit 146c17c0c0

View File

@ -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
} }
}, { }, {