# Working with exited DB with many tables have composite PK

**URL:** https://community.directus.com/t/working-with-exited-db-with-many-tables-have-composite-pk/967
**Category:** Help
**Tags:** data-modeling
**Created:** [August 14, 2025, 8:13am UTC](https://community.directus.com/t/working-with-exited-db-with-many-tables-have-composite-pk/967 "2025-08-14T08:13:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![binhbg14](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@binhbg14](https://community.directus.com/u/binhbg14)
#### Post date: [August 14, 2025, 8:13am UTC](https://community.directus.com/t/working-with-exited-db-with-many-tables-have-composite-pk/967/1 "2025-08-14T08:13:46Z")

</div>

Current i want to using Directus for fast dev the CRUD for my app. I already have the DB with many tables, some of them using composite PK. From Admin UI, i can not map these tables to collection because of composite PK.  
Anyone have some idea ? I can not change anything in DB structure because it is customer DB
