feat: create table if missing

This commit is contained in:
amhsirak
2025-03-23 14:07:40 +05:30
parent 1562fd099d
commit ba2702651e

View File

@@ -48,6 +48,7 @@ app.use(
store: new PgSession({
pool: pool,
tableName: 'session',
createTableIfMissing: true,
}),
secret: 'mx-session',
resave: false, // Do not resave the session if it hasn't changed