FunctionProject/api/models/comments.js

9 lines
222 B
JavaScript
Raw Normal View History

2020-04-06 23:06:21 +02:00
const Sequelize = require('sequelize');
const sequelize = require('../assets/utils/database');
module.exports = sequelize.define('comment', {
message: {
type: Sequelize.TEXT,
allowNull: false
}
});