@remit/drizzle-sqlite-schema 0.0.31 → 0.0.32

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
@@ -415,6 +415,7 @@ export const calendarSuggestions = sqliteTable("calendar_suggestion", {
415
415
  primaryKey({ name: "calendar_suggestion_pk", columns: [table.accountConfigId, table.suggestionId] }),
416
416
  index("calendar_suggestion_by_state").on(table.accountConfigId, table.state, table.createdAt, table.suggestionId),
417
417
  index("calendar_suggestion_by_message").on(table.accountConfigId, table.messageId, table.suggestionId),
418
+ index("calendar_suggestion_by_accepted_calendar_object").on(table.accountConfigId, table.acceptedCalendarObjectId),
418
419
  ]);
419
420
  export const envelopeAddresses = sqliteTable("envelope_address", {
420
421
  envelopeAddressId: text("envelope_address_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.31",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -504,6 +504,7 @@ export const calendarSuggestions = sqliteTable(
504
504
  primaryKey({ name: "calendar_suggestion_pk", columns: [table.accountConfigId, table.suggestionId] }),
505
505
  index("calendar_suggestion_by_state").on(table.accountConfigId, table.state, table.createdAt, table.suggestionId),
506
506
  index("calendar_suggestion_by_message").on(table.accountConfigId, table.messageId, table.suggestionId),
507
+ index("calendar_suggestion_by_accepted_calendar_object").on(table.accountConfigId, table.acceptedCalendarObjectId),
507
508
  ],
508
509
  );
509
510