10 lines
246 B
JavaScript
10 lines
246 B
JavaScript
|
module.exports = (sequelize, DataTypes) => {
|
||
|
const Properties = sequelize.define('properties', {
|
||
|
name: DataTypes.STRING
|
||
|
}, {})
|
||
|
Properties.associate = function (models) {
|
||
|
// associations can be defined here
|
||
|
}
|
||
|
return Properties
|
||
|
}
|