@authhero/drizzle 0.28.0 → 0.30.0
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.
|
@@ -172,6 +172,7 @@ CREATE TABLE `login_sessions` (
|
|
|
172
172
|
`state_data` text,
|
|
173
173
|
`failure_reason` text,
|
|
174
174
|
`user_id` text(255),
|
|
175
|
+
`auth_connection` text(255),
|
|
175
176
|
PRIMARY KEY(`tenant_id`, `id`),
|
|
176
177
|
FOREIGN KEY (`tenant_id`) REFERENCES `tenants`(`id`) ON UPDATE no action ON DELETE cascade
|
|
177
178
|
);
|
package/package.json
CHANGED
|
@@ -17,9 +17,6 @@ export const mfaEnrollments = sqliteTable(
|
|
|
17
17
|
updated_at_ts: integer("updated_at_ts").notNull(),
|
|
18
18
|
},
|
|
19
19
|
(table) => [
|
|
20
|
-
index("mfa_enrollments_tenant_user_idx").on(
|
|
21
|
-
table.tenant_id,
|
|
22
|
-
table.user_id,
|
|
23
|
-
),
|
|
20
|
+
index("mfa_enrollments_tenant_user_idx").on(table.tenant_id, table.user_id),
|
|
24
21
|
],
|
|
25
22
|
);
|
|
@@ -106,6 +106,7 @@ export const loginSessions = sqliteTable(
|
|
|
106
106
|
state_data: text("state_data"), // JSON: { hookId?, continuationScope?, continuationReturnUrl? }
|
|
107
107
|
failure_reason: text("failure_reason"),
|
|
108
108
|
user_id: text("user_id", { length: 255 }),
|
|
109
|
+
auth_connection: text("auth_connection", { length: 255 }),
|
|
109
110
|
},
|
|
110
111
|
(table) => [
|
|
111
112
|
primaryKey({
|