@remit/drizzle-pg-schema 0.0.53 → 0.0.55

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.js CHANGED
@@ -382,6 +382,7 @@ export const messageRecords = pgTable("message", {
382
382
  createdAt: bigint("created_at", { mode: "number" }).notNull(),
383
383
  updatedAt: bigint("updated_at", { mode: "number" }).notNull(),
384
384
  }, (table) => [
385
+ index("message_by_mailbox_internal_date").on(table.mailboxId, table.internalDate),
385
386
  index("message_by_mailbox_id").on(table.mailboxId, table.uid),
386
387
  index("message_by_body_storage_key").on(table.bodyStorageKey),
387
388
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-pg-schema",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -466,6 +466,7 @@ export const messageRecords = pgTable(
466
466
  updatedAt: bigint("updated_at", { mode: "number" }).notNull(),
467
467
  },
468
468
  (table) => [
469
+ index("message_by_mailbox_internal_date").on(table.mailboxId, table.internalDate),
469
470
  index("message_by_mailbox_id").on(table.mailboxId, table.uid),
470
471
  index("message_by_body_storage_key").on(table.bodyStorageKey),
471
472
  ],