Ability to Duplicate a Data Model in Directus #22692
satputekuldip
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
It would be highly beneficial to have a feature in Directus that allows users to duplicate an existing data model. This feature would streamline the process of creating new models that are similar to existing ones, saving time and reducing the potential for errors.
Basic Example
When a user has an existing data model (e.g., "Products") and wants to create a similar model (e.g., "Archived Products"), they could simply duplicate the "Products" model. The new model would retain the same fields, relationships, and settings as the original, allowing the user to make modifications as needed without starting from scratch.
Motivation
Duplicating data models is a common task in database management, especially when working with complex schemas. Implementing this feature would:
Detailed Design
UI Changes:
Backend Changes:
Permissions:
Requirements List
Drawbacks
Potential for increased complexity in the data model management interface.
Additional development and maintenance effort required.
Alternatives
Manual duplication: Users can manually create a new model and replicate the fields and settings. This approach is more time-consuming and prone to errors.
Scripting: Advanced users could use scripts to duplicate models, but this requires technical expertise and is not user-friendly.
Adoption Strategy
Unresolved Questions
No response
Beta Was this translation helpful? Give feedback.
All reactions