cnc-speed-calculator/sequelize/models/need-init.model.js

16 lines
368 B
JavaScript
Raw Normal View History

2021-01-27 23:36:51 +01:00
const { DataTypes } = require('sequelize');
module.exports = (sequelize) => {
sequelize.define('need_init', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: DataTypes.INTEGER
},
name: {
allowNull: false,
type: DataTypes.STRING
}
})
}