Hi all, I’m wondering if there’s an extension or built-in method for duplicating data models in Directus. I’ve installed the Schema Management Module and plan to test exporting a model, renaming it, and re-importing it as a workaround. But I was hoping there might be a faster or more streamlined way to duplicate a model directly. Any tips or suggestions?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| What’s the best way to transfer a Directus instance from one environment to another? | 2 | 1214 | July 18, 2025 | |
| Recommended Schema Sync Package? | 0 | 68 | September 20, 2025 | |
| Directus cloud / sync / dev env | 0 | 76 | November 18, 2025 | |
| Building from the scratch | 0 | 26 | January 24, 2026 | |
| 4-Months of Directus and Still Going Strong | 0 | 58 | March 5, 2026 |
I've used the Schema Management Module to do exactly the same thing and it works great. Just open the file, do find and "replace all" on the name of the collection and re-import it. I'm sure you could write a script to do it using the API too, but for the time it would take to do that, you might as well just use the Schema Management Module as you suggest.
– BurvsI eventually did just that, it works fine, I’ll stick with it.
– Mr_Rogers