migration-scripts icon indicating copy to clipboard operation
migration-scripts copied to clipboard

Collection of Strapi Migration scripts

Results 19 migration-scripts issues
Sort by recently updated
recently updated
newest added

## Bug report ### Required System information - Node.js version: 14.20.1 - NPM version: 6.14.17 - Source Strapi version: 3.6.10 - Target Strapi version: 4.3.9 - Source Database: SQL (MariaDB...

issue: bug
severity: medium
status: pending reproduction

1. in addRelation, i have debugged the model schema. there is no column field, instead many to many relation will have a dominant field. 2. add a tool to get...

issue: bug
source: v3-SQL to v4-SQL

## Bug report ### Required System information - Node.js version: 16.19.1 - NPM version: 8.19.3 - Source Strapi version: 3.6.9 - Target Strapi version: 4.8.2 - Source Database: PostgreSQL -...

## Bug report ### Required System information - Node.js version: 18.19.0 - NPM version: 10.2.3 - Source Strapi version: 4.19.0 - Target Strapi version: 4.19.0 - Source Database: pg12 -...

I created this script in order to help with leftovers in v3, which are blocking for migration to v4 and have to be removed manually.

issue: enhancement

I think the keyF variable is set correctly but it is not used in the actual column names. It's an unused variable, so this seems maybe something went wrong in...

## Bug report ### Required System information Yarn version: 1.22.5 Node version: 16.20.2 Platform: linux x64 Trace: Error: https://registry.npmjs.org/@vscode/sqlite3/-/sqlite3-5.0.8.tgz: Request failed "500 Internal Server Error" at ResponseError.ExtendableBuiltin (/opt/yarn-v1.22.5/lib/cli.js:696:66) at new...

## Bug report ### Issue Description When running the script, if a column with a many-to-many relation is empty or contains null values, the script terminates prematurely. This issue occurs...

## Bug report The `TABLE_SCHEMA` of the DB is not considered while reading the tables to port over to v4. ### Required System information - Node.js version: `v18.14.1` - NPM...

## Bug report ### Required System information - Node.js version: v14.19.3 - NPM version: v6.14.17 - Source Strapi version: v3.6.6 - Target Strapi version: v4.5.6 - Source Database: Postgres -...