Untitled
unknown
plain_text
a year ago
377 B
1
Indexable
module.exports = (sequelize, DataTypes) => { const Category = sequelize.define('Category', { id: { type: DataTypes.INTEGER, allowNull: false, autoIncrement: true, primaryKey: true }, name: { type: DataTypes.STRING, allowNull: false }, }, { timestamps: false, tableName: 'categories' }); return Category; };
Editor is loading...
Leave a Comment