Skip to content

Commit

Permalink
fix: project modal description field
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D authored and TheLastCicada committed Sep 6, 2023
1 parent 510043e commit 6855c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/models/projects/projects.modeltypes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module.exports = {
type: Sequelize.STRING,
},
description: {
type: Sequelize.STRING,
type: Sequelize.TEXT,
allowNull: true,
},
createdAt: {
Expand Down
2 changes: 1 addition & 1 deletion src/validations/projects.validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { pickListValidation } from '../utils/validation-utils';
export const baseSchema = {
// warehouseProjectId - derived upon creation
// orgUid - derived upon creation
projectId: Joi.alternatives().try(Joi.string(), Joi.number()).required(),
currentRegistry: Joi.string().allow(null).optional(),
projectId: Joi.alternatives().try(Joi.string(), Joi.number()).required(),
originProjectId: Joi.alternatives()
.try(Joi.string(), Joi.number())
.required(),
Expand Down

0 comments on commit 6855c3e

Please sign in to comment.