Skip to content

Commit

Permalink
fix: set correct indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Dec 19, 2024
1 parent 2552bda commit 744f97a
Showing 1 changed file with 3 additions and 115 deletions.
118 changes: 3 additions & 115 deletions packages/spacecat-shared-data-access/docs/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,122 +72,10 @@
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Suggestion-byOpportunityId",
"IndexName": "spacecat-data-gsi5pk-gsi5sk",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Site-all",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Site-byOrganizationId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi2pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi2sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Site-byDeliveryType",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi3pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi3sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Organization-all",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Audit-bySiteId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Experiment-bySiteId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-KeyEvent-bySiteId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-SiteCandidate-all",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-SiteCandidate-bySiteId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi2pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi2sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-SiteTopPage-bySiteId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-Configuration-all",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "version", "AttributeType": "N" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-ImportJob-all",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-ImportJob-byStatus",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi2pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi2sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
},
{
"IndexName": "spacecat-data-ImportUrl-byImportJobId",
"KeyAttributes": {
"PartitionKey": { "AttributeName": "gsi1pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi1sk", "AttributeType": "S" }
"PartitionKey": { "AttributeName": "gsi5pk", "AttributeType": "S" },
"SortKey": { "AttributeName": "gsi5sk", "AttributeType": "S" }
},
"Projection": { "ProjectionType": "ALL" }
}
Expand Down

0 comments on commit 744f97a

Please sign in to comment.