@authhero/drizzle 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "0.13.0",
14
+ "version": "0.13.1",
15
15
  "files": [
16
16
  "dist",
17
17
  "src/schema",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "drizzle-orm": "^0.44.2",
44
- "@authhero/adapter-interfaces": "0.119.0"
44
+ "@authhero/adapter-interfaces": "0.120.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsc && vite build",
@@ -108,6 +108,9 @@ export const loginSessions = sqliteTable(
108
108
  name: "login_sessions_pk",
109
109
  }),
110
110
  index("login_sessions_id_index").on(table.id),
111
+ index("login_sessions_state_idx").on(table.state),
112
+ index("login_sessions_state_updated_idx").on(table.state, table.updated_at),
113
+ index("login_sessions_tenant_user_idx").on(table.tenant_id, table.user_id),
111
114
  ],
112
115
  );
113
116