@remit/drizzle-sqlite-schema 0.0.36 → 0.0.37

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
@@ -364,6 +364,7 @@ export const messageRecords = sqliteTable("message", {
364
364
  updatedAt: integer("updated_at", { mode: "number" }).notNull(),
365
365
  }, (table) => [
366
366
  index("message_by_mailbox_id").on(table.mailboxId, table.uid),
367
+ index("message_by_body_storage_key").on(table.bodyStorageKey),
367
368
  ]);
368
369
  export const bodyParts = sqliteTable("body_part", {
369
370
  bodyPartId: text("body_part_id").primaryKey().$defaultFn(() => generateBase36Id()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-sqlite-schema",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -443,6 +443,7 @@ export const messageRecords = sqliteTable(
443
443
  },
444
444
  (table) => [
445
445
  index("message_by_mailbox_id").on(table.mailboxId, table.uid),
446
+ index("message_by_body_storage_key").on(table.bodyStorageKey),
446
447
  ],
447
448
  );
448
449