@remit/drizzle-pg-schema 0.0.24 → 0.0.25

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/schema.d.ts CHANGED
@@ -843,6 +843,23 @@ export declare const accounts: import("drizzle-orm/pg-core").PgTableWithColumns<
843
843
  }, {}, {
844
844
  $type: "password" | "oauthMicrosoft";
845
845
  }>;
846
+ syncedServices: import("drizzle-orm/pg-core").PgColumn<{
847
+ name: "synced_services";
848
+ tableName: "account";
849
+ dataType: "json";
850
+ columnType: "PgJsonb";
851
+ data: unknown;
852
+ driverParam: unknown;
853
+ notNull: true;
854
+ hasDefault: false;
855
+ isPrimaryKey: false;
856
+ isAutoincrement: false;
857
+ hasRuntimeDefault: false;
858
+ enumValues: undefined;
859
+ baseColumn: never;
860
+ identity: undefined;
861
+ generated: undefined;
862
+ }, {}, {}>;
846
863
  passwordHash: import("drizzle-orm/pg-core").PgColumn<{
847
864
  name: "password_hash";
848
865
  tableName: "account";
package/dist/schema.js CHANGED
@@ -59,6 +59,7 @@ export const accounts = pgTable("account", {
59
59
  username: text("username").notNull(),
60
60
  email: text("email").notNull(),
61
61
  authType: text("auth_type").$type().notNull().default("password"),
62
+ syncedServices: jsonb("synced_services").notNull(),
62
63
  passwordHash: nullableText("password_hash"),
63
64
  oauthRefreshTokenHash: nullableText("oauth_refresh_token_hash"),
64
65
  oauthTokenUpdatedAt: nullableBigint("oauth_token_updated_at"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-pg-schema",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -77,6 +77,7 @@ export const accounts = pgTable(
77
77
  username: text("username").notNull(),
78
78
  email: text("email").notNull(),
79
79
  authType: text("auth_type").$type<"password" | "oauthMicrosoft">().notNull().default("password"),
80
+ syncedServices: jsonb("synced_services").notNull(),
80
81
  passwordHash: nullableText("password_hash"),
81
82
  oauthRefreshTokenHash: nullableText("oauth_refresh_token_hash"),
82
83
  oauthTokenUpdatedAt: nullableBigint("oauth_token_updated_at"),