mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
16 lines
328 B
JavaScript
16 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;
|
||
|
};
|