Ticket creation

This commit is contained in:
Isaac
2021-04-24 23:49:17 +01:00
parent fff423956d
commit 674f29b403
7 changed files with 151 additions and 18 deletions

View File

@@ -44,7 +44,7 @@ module.exports = ({ config }, sequelize) => {
},
require_topic: {
type: DataTypes.BOOLEAN,
defaultValue: true,
defaultValue: false,
},
roles: {
type: DataTypes.JSON,

View File

@@ -19,6 +19,10 @@ module.exports = (client, sequelize) => {
type: DataTypes.CHAR(18),
allowNull: true,
},
closed_reason: {
type: DataTypes.STRING,
allowNull: true,
},
creator: {
type: DataTypes.CHAR(18),
allowNull: false,
@@ -45,6 +49,10 @@ module.exports = (client, sequelize) => {
type: DataTypes.BOOLEAN,
defaultValue: true
},
opening_message: {
type: DataTypes.CHAR(18),
allowNull: true,
},
topic: {
type: DataTypes.TEXT,
allowNull: true,