Patience and the right tools
@stefanjudis
Ways to handle
content model changes
Slide 2
Slide 2 text
Stefan Judis
Frontend Developer, Occasional Teacher, Meetup Organizer
❤ Open Source, Performance and Accessibility ❤
@stefanjudis
Slide 3
Slide 3 text
NOBODY(!)
GETS IT RIGHT
THE FIRST
TIME...
Slide 4
Slide 4 text
4
WAYS TO SURVIVE
SHARE
&
REUSE
ANALYSE EVOLVE
Slide 5
Slide 5 text
5
WAYS TO SURVIVE
SHARE
&
REUSE
ANALYSE EVOLVE
Slide 6
Slide 6 text
github.com/contentful/contentful-migration
Slide 7
Slide 7 text
github.com/contentful/contentful-migration
PROGRAMMATIC
CONTENT MODEL
CHANGES
Slide 8
Slide 8 text
MIGRATION CLI
CONTENT TYPE OPERATIONS
Create a content type
01
02
03
04
05
Delete a content type
Edit a content type
Create/edit/delete fields
Change a field ID
Slide 9
Slide 9 text
Transform an entry in place
01
02 Derive an entry from another
MIGRATION CLI
CONTENT TRANSFORMATIONS
Slide 10
Slide 10 text
MIGRATION CLI
ADVANTAGES
Repeatable
01
02
03
04
Can be kept in VC
Includes sanity checks
Perfect for CI