contentful-migration | 🚚 Migration tooling for contentful | GraphQL library
kandi X-RAY | contentful-migration Summary
kandi X-RAY | contentful-migration Summary
Describe and execute changes to your content model and transform entry content. Contentful provides content infrastructure for digital teams to power websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship their products faster.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of contentful-migration
contentful-migration Key Features
contentful-migration Examples and Code Snippets
Community Discussions
Trending Discussions on contentful-migration
QUESTION
I'm migrating an ancient blog from PostgreSQL to Contentful. I'd like to use data from the old blog posts to fill in Contentful entries' sys.createdAt
, sys.updatedAt
, sys.publishedAt
, and sys.firstPublishedAt
.
I've read through:
- the Content Management API docs
- the contentful-migration docs
- this page on scripting migrations with Contentful
- this article on the same topic.
Didn't find anything.
I've read a couple of examples where people create their own publishedAt
field in a content type rather than add to sys
date properties.
I tried to replicate the data structure of exported content as exported by contentful-cli and filled in the date properties with my own data:
...ANSWER
Answered 2021-Sep-06 at 09:57Contentful DevRel here. 👋
You're correct. The sys
object contains system-managed metadata and its fields can not be changed programmatically. It doesn't matter if you use the official tooling.
(The only exception is that you can specify sys.id
on entry creation.)
I've read a couple of examples where people create their own
publishedAt
field in a content type rather than add to sys date properties.
👆 That is the recommended way to go. For any data you want to control, create new fields and manage them however you like.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install contentful-migration
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page