Skip to content

Commit

Permalink
use explicit constriant nanme (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanierh authored Oct 24, 2023
1 parent 29e9027 commit b1b9ad7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions connectors/src/lib/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,11 @@ NotionConnectorResourcesToCheckCacheEntry.init(
sequelize: sequelize_conn,
modelName: "notion_connector_resources_to_check_cache_entries",
indexes: [
// TODO(@fontanierh): fix sync issue with this index
// { fields: ["notionId", "connectorId"], unique: true },
{
fields: ["notionId", "connectorId"],
unique: true,
name: "uq_notion_to_check_notion_id_conn_id",
},
{ fields: ["connectorId"] },
],
}
Expand Down

0 comments on commit b1b9ad7

Please sign in to comment.