Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = (sequelize, Sequelize) => {
- return sequelize.define('mouse', {
- model_number: {
- type: Sequelize.STRING(),
- allowNull: false
- },
- manufacturer: {
- type: Sequelize.STRING(),
- allowNull: false
- }
- }, {
- timestamps: true
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement