Project member management
This commit is contained in:
@@ -438,6 +438,23 @@ module.exports = {
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
|
||||
await queryInterface.bulkInsert('members', [
|
||||
{
|
||||
userId: 1,
|
||||
projectId: 1,
|
||||
role: 0,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
{
|
||||
userId: 1,
|
||||
projectId: 2,
|
||||
role: 0,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
|
||||
Reference in New Issue
Block a user