api/models/properties.js

10 lines
246 B
JavaScript
Raw Normal View History

2018-10-02 19:18:05 +02:00
module.exports = (sequelize, DataTypes) => {
const Properties = sequelize.define('properties', {
name: DataTypes.STRING
}, {})
Properties.associate = function (models) {
// associations can be defined here
}
return Properties
}