session created
This commit is contained in:
parent
d3e419c98b
commit
bccde12a04
1 changed files with 20 additions and 0 deletions
|
|
@ -276,6 +276,26 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{ transaction: t }
|
{ transaction: t }
|
||||||
),
|
),
|
||||||
|
queryInterface.createTable(
|
||||||
|
'session_created',
|
||||||
|
{
|
||||||
|
uuid: {
|
||||||
|
type: Sequelize.UUID,
|
||||||
|
allowNull: false,
|
||||||
|
unique: true,
|
||||||
|
primaryKey: true,
|
||||||
|
},
|
||||||
|
created_at: {
|
||||||
|
type: Sequelize.DATE,
|
||||||
|
allowNull: false,
|
||||||
|
},
|
||||||
|
expires_at: {
|
||||||
|
type: Sequelize.DATE,
|
||||||
|
allowNull: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ transaction: t }
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue