@absolutejs/auth 0.77.1 → 0.78.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/cli/migrate.js +7 -7
- package/dist/cli/migrate.js.map +3 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/linkedProviders/index.js +7 -7
- package/dist/linkedProviders/index.js.map +3 -3
- package/dist/server.js +7 -7
- package/dist/server.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/migrate.js
CHANGED
|
@@ -2664,7 +2664,7 @@ var linkedProviderBindingsTable = pgTable7("linked_provider_bindings", {
|
|
|
2664
2664
|
available_scopes: jsonb3("available_scopes").$type().notNull().default([]),
|
|
2665
2665
|
capabilities: jsonb3("capabilities").$type().default([]),
|
|
2666
2666
|
connector_provider: varchar7("connector_provider", { length: 64 }).notNull(),
|
|
2667
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
2667
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
2668
2668
|
email: varchar7("email", { length: 320 }),
|
|
2669
2669
|
external_account_id: varchar7("external_account_id", {
|
|
2670
2670
|
length: 255
|
|
@@ -2677,18 +2677,18 @@ var linkedProviderBindingsTable = pgTable7("linked_provider_bindings", {
|
|
|
2677
2677
|
label: varchar7("label", { length: 255 }),
|
|
2678
2678
|
metadata: jsonb3("metadata").$type().default({}),
|
|
2679
2679
|
status: varchar7("status", { length: 64 }).$type().notNull(),
|
|
2680
|
-
updated_at: timestamp("updated_at").notNull().defaultNow(),
|
|
2680
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
2681
2681
|
username: varchar7("username", { length: 255 })
|
|
2682
2682
|
});
|
|
2683
2683
|
var linkedProviderGrantsTable = pgTable7("linked_provider_grants", {
|
|
2684
2684
|
access_token_ciphertext: text3("access_token_ciphertext"),
|
|
2685
2685
|
auth_provider_key: varchar7("auth_provider_key", { length: 64 }).notNull(),
|
|
2686
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
2687
|
-
expires_at: timestamp("expires_at"),
|
|
2686
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
2687
|
+
expires_at: timestamp("expires_at", { withTimezone: true }),
|
|
2688
2688
|
granted_scopes: jsonb3("granted_scopes").$type().notNull().default([]),
|
|
2689
2689
|
id: varchar7("id", { length: 255 }).primaryKey(),
|
|
2690
2690
|
last_refresh_error: text3("last_refresh_error"),
|
|
2691
|
-
last_refreshed_at: timestamp("last_refreshed_at"),
|
|
2691
|
+
last_refreshed_at: timestamp("last_refreshed_at", { withTimezone: true }),
|
|
2692
2692
|
metadata: jsonb3("metadata").$type().default({}),
|
|
2693
2693
|
owner_ref: varchar7("owner_ref", { length: 255 }).notNull(),
|
|
2694
2694
|
provider_family: varchar7("provider_family", { length: 64 }).notNull(),
|
|
@@ -2696,7 +2696,7 @@ var linkedProviderGrantsTable = pgTable7("linked_provider_grants", {
|
|
|
2696
2696
|
refresh_token_ciphertext: text3("refresh_token_ciphertext"),
|
|
2697
2697
|
status: varchar7("status", { length: 64 }).$type().notNull(),
|
|
2698
2698
|
token_type: varchar7("token_type", { length: 64 }),
|
|
2699
|
-
updated_at: timestamp("updated_at").notNull().defaultNow()
|
|
2699
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
2700
2700
|
});
|
|
2701
2701
|
|
|
2702
2702
|
// src/lockout/postgresLockoutStore.ts
|
|
@@ -3659,5 +3659,5 @@ var main = async () => {
|
|
|
3659
3659
|
};
|
|
3660
3660
|
await main();
|
|
3661
3661
|
|
|
3662
|
-
//# debugId=
|
|
3662
|
+
//# debugId=1171B72D10FC06DD64756E2164756E21
|
|
3663
3663
|
//# sourceMappingURL=migrate.js.map
|