Mailspring/core/models/account/thread.js
2016-06-19 03:02:32 -07:00

15 lines
328 B
JavaScript

module.exports = (sequelize, Sequelize) => {
const Thread = sequelize.define('Thread', {
first_name: Sequelize.STRING,
last_name: Sequelize.STRING,
bio: Sequelize.TEXT,
}, {
classMethods: {
associate: (models) => {
// associations can be defined here
},
},
});
return Thread;
};