# Forest new agent - handle same table name from different datasource

**URL:** <https://community.forestadmin.com/t/forest-new-agent-handle-same-table-name-from-different-datasource/6726>\
**Category:** Help me!\
**Tags:** howtos, setup\
**Created:** [October 4, 2023, 1:59pm UTC](https://community.forestadmin.com/t/forest-new-agent-handle-same-table-name-from-different-datasource/6726 "2023-10-04T13:59:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadiab](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nadiab/32/1812_2.png) [@nadiab](https://community.forestadmin.com/u/nadiab)\
**Post date:** [October 4, 2023, 1:59pm UTC](https://community.forestadmin.com/t/forest-new-agent-handle-same-table-name-from-different-datasource/6726/1 "2023-10-04T13:59:25Z")

</div>

## Feature(s) impacted

Datasource connection

## Observed behavior

Project can’t be launched because I’ve 2 datasource with same tables name

## Expected behavior

Dashboard launched with the all the tables displayed (even if they have the same name)

## Failure Logs

error: Forest Admin agent failed to start

Error: Collection ‘RefundRequestDocument’ already exists  
at CompositeDatasource.addDataSource

## Context

- Project name: Nostrum Care v3
- Team name: Op
- Environment name: Development
- Agent (forest package) name & version:  
“@forestadmin/agent”: “^1.0.0”,  
“@forestadmin/datasource-sequelize”: “^1.5.21”,  
“@forestadmin/datasource-sql”: “^1.0.0”,
- Database type: Postgresql
- Recent changes made on your end if any: Adding a new datasource

---

<div class="post-metadata">

**Author:** ![Florian\_Gonzales](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/florian_gonzales/32/5541_2.png) [@Florian\_Gonzales](https://community.forestadmin.com/u/Florian_Gonzales)\
**Post date:** [October 4, 2023, 2:26pm UTC](https://community.forestadmin.com/t/forest-new-agent-handle-same-table-name-from-different-datasource/6726/2 "2023-10-04T14:26:03Z")

</div>

Hello @nadiab 👋

You can work around this issue by using our [renaming method](https://docs.forestadmin.com/developer-guide-agents-nodejs/data-sources/getting-started/naming-conflicts). Don’t hesitate to contact us if you encounter any problems 🙂

Kind regards,

Florian

---

<div class="post-metadata">

**Author:** ![nadiab](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nadiab/32/1812_2.png) [@nadiab](https://community.forestadmin.com/u/nadiab)\
**Post date:** [October 4, 2023, 2:50pm UTC](https://community.forestadmin.com/t/forest-new-agent-handle-same-table-name-from-different-datasource/6726/3 "2023-10-04T14:50:19Z")

</div>

Perfect it works well !  
Thanks for your help

It’s so much easier than in the previous Forest Admin version.

Have a nice day !
