mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +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;
|
|
};
|