CodingButter-LLC / directus-migrator

A cli tool for migrating directus environments
MIT License
56 stars 15 forks source link

error: "diff.fields[0].diff[0].lhs" must be of type object #5

Open u12206050 opened 1 year ago

u12206050 commented 1 year ago

Getting this error when migrating schema between two environments.

Interestingly though is that when I manually do snapshot apply then it works no problem, but via api it seems to be failing.

CodingButter commented 1 year ago

are you using the CLI or require()?

const { directusMigrator } = require("directus-migrator")