mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
15 lines
328 B
JavaScript
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;
|
|
};
|