11 lines
276 B
JavaScript
11 lines
276 B
JavaScript
const Sequelize = require('sequelize');
|
|
const sequelize = require('../assets/utils/database');
|
|
|
|
module.exports = sequelize.define('favorite', {
|
|
id: {
|
|
type: Sequelize.INTEGER,
|
|
allowNull: false,
|
|
autoIncrement: true,
|
|
primaryKey: true
|
|
}
|
|
}); |