drawdb-io / drawdb

Free, simple, and intuitive online database design tool and SQL generator.
https://drawdb.app
MIT License
12.11k stars 856 forks source link

[Feature] Copyable `Enum` #40

Open Corwinpro opened 2 months ago

Corwinpro commented 2 months ago

Thanks very much for this tool!

I am wondering if it would be possible to convert the Enum values in the field description from boxes to text on double click, so that I can copy the existing Enums (csv) to another place? Currently that is not possible, and I need to retype or jump into some text representation of the diagram.

Corwinpro commented 2 months ago

(FWIW I'd be happy to help with this)

1ilit commented 2 months ago

Hey! Thanks for the suggestion.

I will be making the diagrams specific to SQL flavor soon. So you'll be able to declare global enum types without the need to copy and paste the values.

Corwinpro commented 2 months ago

Thanks very much! I was thinking about a slightly different feature, more of an Enum editor-related improvement. But I'm sure I'm just missing some context, and perhaps that cannot be done without what you have in mind.