From bc542191155b3543a3d0bd2e38cb3f37e0e82cd5 Mon Sep 17 00:00:00 2001 From: Boyan Bratvanov <6027160+bratvanov@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:29:07 +0300 Subject: [PATCH] Fix export syntax for DB indexes docs --- docs/database/indexes.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/database/indexes.mdx b/docs/database/indexes.mdx index 359a0290ad7..ba1e5842e15 100644 --- a/docs/database/indexes.mdx +++ b/docs/database/indexes.mdx @@ -15,7 +15,7 @@ To index a field, set the `index` option to `true` in your field's config: ```ts import type { CollectionConfig } from 'payload' -export MyCollection: CollectionConfig = { +export const MyCollection: CollectionConfig = { // ... fields: [ // ...