create-prenta 1.6.1 → 1.6.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# create-actuate-cms
|
|
2
2
|
|
|
3
|
+
## 1.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 24683d9: Add indexes for document lists `(collection, deletedAt, status)`, version retention (`prenta_versions.createdAt`), and SEO issues (`prenta_seo_issues.entityId`).
|
|
8
|
+
|
|
3
9
|
## 1.6.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
-- Hot list and retention paths (#399).
|
|
2
|
+
-- ContentLock.documentId is already unique (prenta_content_locks_documentId_key).
|
|
3
|
+
|
|
4
|
+
CREATE INDEX IF NOT EXISTS "prenta_documents_collection_deletedAt_status_idx"
|
|
5
|
+
ON "prenta_documents" ("collection", "deletedAt", "status");
|
|
6
|
+
|
|
7
|
+
CREATE INDEX IF NOT EXISTS "prenta_versions_createdAt_idx"
|
|
8
|
+
ON "prenta_versions" ("createdAt");
|
|
9
|
+
|
|
10
|
+
CREATE INDEX IF NOT EXISTS "prenta_seo_issues_entityId_idx"
|
|
11
|
+
ON "prenta_seo_issues" ("entityId");
|
|
@@ -252,6 +252,7 @@ model Document {
|
|
|
252
252
|
contentIssues ContentIssue[]
|
|
253
253
|
|
|
254
254
|
@@unique([collection, slug])
|
|
255
|
+
@@index([collection, deletedAt, status])
|
|
255
256
|
@@index([collection])
|
|
256
257
|
@@index([status])
|
|
257
258
|
@@index([deletedAt])
|
|
@@ -275,6 +276,7 @@ model Version {
|
|
|
275
276
|
changedBy User @relation(fields: [changedById], references: [id])
|
|
276
277
|
|
|
277
278
|
@@index([documentId])
|
|
279
|
+
@@index([createdAt])
|
|
278
280
|
@@map("prenta_versions")
|
|
279
281
|
}
|
|
280
282
|
|
|
@@ -526,6 +528,7 @@ model SeoIssue {
|
|
|
526
528
|
@@index([severity])
|
|
527
529
|
@@index([category])
|
|
528
530
|
@@index([issueKey])
|
|
531
|
+
@@index([entityId])
|
|
529
532
|
@@map("prenta_seo_issues")
|
|
530
533
|
}
|
|
531
534
|
|