Mailspring/core/models/account/thread.js

16 lines
328 B
JavaScript
Raw Normal View History

2016-06-19 18:02:32 +08:00
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;
};