Added Properties to Vegetable
This commit is contained in:
parent
c9652c1366
commit
6d94b5f60c
9 changed files with 277 additions and 1 deletions
9
models/properties.js
Normal file
9
models/properties.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
module.exports = (sequelize, DataTypes) => {
|
||||
const Properties = sequelize.define('properties', {
|
||||
name: DataTypes.STRING
|
||||
}, {})
|
||||
Properties.associate = function (models) {
|
||||
// associations can be defined here
|
||||
}
|
||||
return Properties
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue