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

**URL:** <https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [August 17, 2022, 5:49am UTC](https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099 "2022-08-17T05:49:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bunyod\_Shams](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/bunyod_shams/32/4906_2.png) [@Bunyod\_Shams](https://community.forestadmin.com/u/Bunyod_Shams)\
**Post date:** [August 17, 2022, 5:49am UTC](https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099/1 "2022-08-17T05:49:05Z")

</div>

## Feature(s) impacted

Updating forest admin schema

## Observed behavior

When running `forest schema:update` it returns

```javascript
× 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

## Context

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

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [August 17, 2022, 7:59am UTC](https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099/2 "2022-08-17T07:59:48Z")

</div>

Hello,  
I found a [similar problem on stackoverflow](https://stackoverflow.com/questions/46694157/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0). It seems to be a problem of `dialect` or configuration of sequelize.  
Tell me if this link helps you. 🙏

---

<div class="post-metadata">

**Author:** ![Bunyod\_Shams](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/bunyod_shams/32/4906_2.png) [@Bunyod\_Shams](https://community.forestadmin.com/u/Bunyod_Shams)\
**Post date:** [August 17, 2022, 8:59am UTC](https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099/4 "2022-08-17T08:59:57Z")

</div>

Solved the issue by adding a `.env` file and include  
`DATABASE_URL=postgis://abc:xyz@user.b.db.ondigitalocean.com:12345/env?sslmode=require`

---

<div class="post-metadata">

**Author:** ![Alban\_Bertolini](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/alban_bertolini/32/1077_2.png) [@Alban\_Bertolini](https://community.forestadmin.com/u/Alban_Bertolini)\
**Post date:** [August 17, 2022, 9:29am UTC](https://community.forestadmin.com/t/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0-forest-schema-update/5099/5 "2022-08-17T09:29:12Z")

</div>

Ty for the report.  
Have a good time with FA 🙂
