From 5338b56e4c674114e1f604b88b1bc5b9c53f56ff Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 8 Feb 2024 20:37:31 +0100 Subject: [PATCH] bugfix: moved property to correct parent --- models/voiceChannels.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/voiceChannels.js b/models/voiceChannels.js index 1e73e57..db8057b 100644 --- a/models/voiceChannels.js +++ b/models/voiceChannels.js @@ -7,11 +7,11 @@ export default function(sequelize) { primaryKey: true }, create: { - type: DataTypes.BOOLEAN + type: DataTypes.BOOLEAN, + defaultValue: false }, owner: { type: DataTypes.STRING, - defaultValue: false, allowNull: true } });