api/models/properties.js
2018-10-02 19:18:05 +02:00

9 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
}