feat(db): add lastLoginMethod field to user table for last-login-method plugin

This commit is contained in:
2026-04-25 14:07:45 +08:00
parent c0d2c8b137
commit a9cb8a328c
7 changed files with 2734 additions and 3 deletions
+1
View File
@@ -23,6 +23,7 @@ export const user = pgTable("user", {
banned: boolean("banned").default(false),
banReason: text("ban_reason"),
banExpires: timestamp("ban_expires"),
lastLoginMethod: text("last_login_method"),
})
export const session = pgTable(