Dialect needs to be explicitly supplied as of v4.0.0, forest schema:update

Feature(s) impacted

Updating forest admin schema

Observed behavior

When running forest schema:update it returns

× Connecting to your database(s)
× An unexpected error occurred. Please reach out for help in our Developers community (https://community.forestadmin.com/) or create a Github issue with following error: Dialect needs to be explicitly supplied as of v4.0.0

Expected behavior

I would expect it to update my database schema and add new tables


  • Project name: Hologram
  • Team name: Mindworks
  • Environment name: Prod
  • Agent type & version: forest-cli/2.7.2 darwin-arm64 node-v15.14.0

I found a similar problem on stackoverflow. It seems to be a problem of dialect or configuration of sequelize.
Tell me if this link helps you. :pray:

Solved the issue by adding a .env file and include

Ty for the report.
Have a good time with FA :slight_smile: