Skip to content

Commit

Permalink
Merge pull request #901 from Chia-Network/dev/michael/description_type
Browse files Browse the repository at this point in the history
fix: project modal description field
  • Loading branch information
MichaelTaylor3D authored Jul 14, 2023
2 parents 3f85faa + 6912f3d commit 5184009
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 5184009

Please sign in to comment.