@authhero/drizzle 0.37.0 → 0.38.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.
package/dist/drizzle-adapter.mjs
CHANGED
|
@@ -1277,7 +1277,9 @@ const D = O("tenants", {
|
|
|
1277
1277
|
last_ip: s("last_ip", { length: 255 }),
|
|
1278
1278
|
login_count: p("login_count").notNull(),
|
|
1279
1279
|
last_login: s("last_login", { length: 255 }),
|
|
1280
|
-
registration_completed_at: s("registration_completed_at", {
|
|
1280
|
+
registration_completed_at: s("registration_completed_at", {
|
|
1281
|
+
length: 35
|
|
1282
|
+
}),
|
|
1281
1283
|
provider: s("provider", { length: 255 }).notNull(),
|
|
1282
1284
|
connection: s("connection", { length: 255 }),
|
|
1283
1285
|
email_verified: p("email_verified", { mode: "boolean" }).notNull(),
|
|
@@ -3386,10 +3388,7 @@ function Fe(n, i, e = []) {
|
|
|
3386
3388
|
}
|
|
3387
3389
|
return t;
|
|
3388
3390
|
}
|
|
3389
|
-
const ss = Hr(
|
|
3390
|
-
"0123456789abcdefghijklmnopqrstuvwxyz",
|
|
3391
|
-
17
|
|
3392
|
-
);
|
|
3391
|
+
const ss = Hr("0123456789abcdefghijklmnopqrstuvwxyz", 17);
|
|
3393
3392
|
function os() {
|
|
3394
3393
|
return `hc_${ss()}`;
|
|
3395
3394
|
}
|
package/package.json
CHANGED
|
@@ -31,7 +31,9 @@ export const users = sqliteTable(
|
|
|
31
31
|
last_ip: text("last_ip", { length: 255 }),
|
|
32
32
|
login_count: integer("login_count").notNull(),
|
|
33
33
|
last_login: text("last_login", { length: 255 }),
|
|
34
|
-
registration_completed_at: text("registration_completed_at", {
|
|
34
|
+
registration_completed_at: text("registration_completed_at", {
|
|
35
|
+
length: 35,
|
|
36
|
+
}),
|
|
35
37
|
provider: text("provider", { length: 255 }).notNull(),
|
|
36
38
|
connection: text("connection", { length: 255 }),
|
|
37
39
|
email_verified: integer("email_verified", { mode: "boolean" }).notNull(),
|