diff --git a/payload/src/collections/Posts.ts b/payload/src/collections/Posts.ts index 2019505..fbca324 100644 --- a/payload/src/collections/Posts.ts +++ b/payload/src/collections/Posts.ts @@ -1,6 +1,7 @@ import { CollectionConfig } from "payload/types"; const Posts: CollectionConfig = { slug: "posts", + versions: true, admin: { defaultColumns: ["title", "author", "status"], useAsTitle: "title", @@ -103,6 +104,10 @@ const Posts: CollectionConfig = { value: "published", label: "Published", }, + { + value: "archived", + label: "Archived", + }, ], defaultValue: "draft", admin: {