Hi,
just to tell you I have started to think about how the dialog would look
like, to enable multi-field indexes (with key length) and things like full-text indexes.
We have to find something that is easier to use visually than typing the
appropriate SQL commands :)
I will come back to you soon with some propositions...
Marc (Lem9)
Good (morning|afternoon :),
Ok I need your feedback about this.
In the "Create new table" dialog, after "Fields" question, we add this checkbox:
Use special index mode (for key lengths, multi-field keys) _
and an input field:
Total number of indexes: ___
For example, the user activates the checkbox and asks for 2 indexes.
Then on the fields page, instead of the columns "primary, index, unique" we add double-columns for each new index, at the right of the screen.
For example:
Field (other field attributes...) | Relative | Length| Relative | Length | | position | | position | |
first_name 30 2 10 last_name 30 1 15 city 40 phone 15 1 10 ________________________________________________________________________________ index_1 index_2 unique _ unique _ primary _ primary _ fulltext _ fulltext _
========================
We generate the index names, but in an input box, so they can be changed.
I wonder if we should use the same layout in the table properties page...
If the user does not use Special index mode, we show them the normal "Primary Index Unique" columns.
Marc (Lem9)
I put a demo: http://sourceforge.net/tracker/download.php?group_id=23067&atid=377411&a...
Marc Delisle a écrit :
Good (morning|afternoon :),
Ok I need your feedback about this.
Hi,
I would really like your feedback before I begin to code this. Is this the better way to offer the advanced index creation?
Do we _want_ to offer this functionnality?
Also note that this new screen would only show up when a user chooses to go in advanced index creation "mode".
Marc Delisle a écrit :
I put a demo: http://sourceforge.net/tracker/download.php?group_id=23067&atid=377411&a...
Marc Delisle a écrit :
Good (morning|afternoon :),
Ok I need your feedback about this.
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel