@remit/drizzle-pg-schema 0.0.27 → 0.0.28

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
@@ -1681,6 +1681,23 @@ export declare const mailboxes: import("drizzle-orm/pg-core").PgTableWithColumns
1681
1681
  }, {}, {
1682
1682
  pgColumnBuilderBrand: "PgCustomColumnBuilderBrand";
1683
1683
  }>;
1684
+ syncFailureReason: import("drizzle-orm/pg-core").PgColumn<{
1685
+ name: "sync_failure_reason";
1686
+ tableName: "mailbox";
1687
+ dataType: "string";
1688
+ columnType: "PgText";
1689
+ data: string;
1690
+ driverParam: string;
1691
+ notNull: true;
1692
+ hasDefault: true;
1693
+ isPrimaryKey: false;
1694
+ isAutoincrement: false;
1695
+ hasRuntimeDefault: false;
1696
+ enumValues: [string, ...string[]];
1697
+ baseColumn: never;
1698
+ identity: undefined;
1699
+ generated: undefined;
1700
+ }, {}, {}>;
1684
1701
  cursorState: import("drizzle-orm/pg-core").PgColumn<{
1685
1702
  name: "cursor_state";
1686
1703
  tableName: "mailbox";
package/dist/schema.js CHANGED
@@ -110,6 +110,7 @@ export const mailboxes = pgTable("mailbox", {
110
110
  parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
111
111
  syncStatus: text("sync_status").$type().notNull().default("synced"),
112
112
  pendingPath: nullableText("pending_path"),
113
+ syncFailureReason: text("sync_failure_reason").notNull().default(""),
113
114
  cursorState: text("cursor_state").$type().notNull().default("normal"),
114
115
  specialUse: jsonb("special_use"),
115
116
  createdAt: bigint("created_at", { mode: "number" }).notNull(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-pg-schema",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -133,6 +133,7 @@ export const mailboxes = pgTable(
133
133
  parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
134
134
  syncStatus: text("sync_status").$type<"synced" | "pending" | "failed" | "deleting">().notNull().default("synced"),
135
135
  pendingPath: nullableText("pending_path"),
136
+ syncFailureReason: text("sync_failure_reason").notNull().default(""),
136
137
  cursorState: text("cursor_state").$type<"normal" | "cursor_invalid" | "rebuilding">().notNull().default("normal"),
137
138
  specialUse: jsonb("special_use"),
138
139
  createdAt: bigint("created_at", { mode: "number" }).notNull(),