mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
Ticket creation
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = ({ config }, sequelize) => {
|
||||
},
|
||||
require_topic: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: true,
|
||||
defaultValue: false,
|
||||
},
|
||||
roles: {
|
||||
type: DataTypes.JSON,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user