Skip to content

checkout-charlie/strapi-cli-structure-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strapi Schema Code Migration Script

This script covers some parts of Upgrading Strapi from version 3 to 4, mainly focusing on updating the Schema/API related files. The goal is to reduce the tedious work of updating all model related files by hand and less to do more complicated work.

What is covered in this Script?

  1. Routes
  2. Controllers
  3. Services
  4. Content-type schema

All updates expect some default strapi patterns to be in place so please check the code carefully afterwards.

Limitations

It is not clear what a oneToOne OR manyToOne is, so search the schema files for the marked TODO and chose wich one it is.

Data Migration

Strapi provides a script for data migration at https://github.com/strapi/migration-scripts

Installation

yarn install

Execution

yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published