update router getType
All checks were successful
Deploy to Production / deploy (push) Successful in 21s

This commit is contained in:
silverpro89
2026-01-28 18:59:06 +07:00
parent 3791b7cae1
commit fa5c293a7e
19 changed files with 717 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ const GameType = sequelize.define('game_types', {
comment: 'Mô tả loại game (tiếng Việt)'
},
type: {
type: DataTypes.TEXT,
type: DataTypes.STRING(100),
allowNull: false,
unique: true,
comment: 'Mã định danh loại game: counting_quiz, math_game, word_puzzle, etc.'