sessions hav expiry dates

This commit is contained in:
counterweight 2025-02-10 12:17:15 +01:00
parent b4bd150d93
commit e528f1351a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 28 additions and 1 deletions

View file

@ -11,6 +11,10 @@ const Session = sequelize.define('Session', {
created_at: {
type: DataTypes.DATE,
allowNull: false
},
expires_at: {
type: DataTypes.DATE,
allowNull: false
}
}, {
tableName: 'session'