Browse Source

Change article contest to MEDIUMTEXT

pull/6/head
Menci 7 years ago
parent
commit
6372476c11
  1. 2
      models/article.js

2
models/article.js

@ -28,7 +28,7 @@ let model = db.define('article', {
id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true },
title: { type: Sequelize.STRING(80) },
content: { type: Sequelize.TEXT },
content: { type: Sequelize.TEXT('medium') },
user_id: { type: Sequelize.INTEGER },
problem_id: { type: Sequelize.INTEGER },

Loading…
Cancel
Save