0
Tagasi lükatud

More advance index creation required

Roger Thomas 10 aastat tagasi uuendaja Jarosław Błąd (CEO) 10 aastat tagasi 1
Currently its not possible to define indexes that use a sub length of a column. This is often used for char and byte type fields that are very long.

In mysql you can do the following

    CREATE INDEX part_of_name ON customer (name(10));
Tagasi lükatud
We would like to keep Vertabelo UI for basic elements simple, so we don't plan to extend it in such cases. 

But you can add such index to the model using table "Additional SQL scripts" tab as you can see on picture below.