Reputation: 51
By default, when I installed KeystoneJS v6 headless CMS, it's connected to SQLite database.
If I try to change provider to MySQL, in file keystone.ts
I first replace provider to 'mysql'
and url to mysql://root:root@localhost:3306/keystone
.
Then I run command npx keystone-next migrate
, but I get error
'keystone-next@*' is not in this registry
So, it seems it tries to install something instead of migrating
Upvotes: 0
Views: 83
Reputation: 1143
keystone-next/keystone
is deprecated and was migrated to @keystone-6/core
.
Link to the old npm package: link
Link to the new npm package: link
Note that if you have keystone installed in the project, you can use npx keystone prisma migrate
.
Upvotes: 1