Skip to content

Commit

Permalink
PR resolution 2 - removed allowNull:false
Browse files Browse the repository at this point in the history
  • Loading branch information
ms0ur1s committed Jan 23, 2024
1 parent fcdfc18 commit 45489b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/queries/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ const PasswordResetTokenModel = sequelize.define(
const UserFeedbackModel = sequelize.define(
"UserFeedback",
{
question_use_case: { type: DataTypes.TEXT, allowNull: false },
question_impact: { type: DataTypes.TEXT, allowNull: false },
question_who_benefits: { type: DataTypes.TEXT, allowNull: false },
question_improvements: { type: DataTypes.TEXT, allowNull: false },
question_use_case: { type: DataTypes.TEXT },
question_impact: { type: DataTypes.TEXT },
question_who_benefits: { type: DataTypes.TEXT },
question_improvements: { type: DataTypes.TEXT },
user_id: {
type: DataTypes.BIGINT,
references: { model: UserModel, key: "id" },
Expand Down

0 comments on commit 45489b0

Please sign in to comment.