I am wondering if there is a generic way to create an "ordered index" with liquibase. Something that will produce these kind of SQL statement:
CREATE INDEX idx_name ON my_table (m_column DESC)
I need that for oracle, postgresql, mysql, and sql server.
If not, I'll have to do it manually with the SQL tag for each RDBM.
I've just looked through liquibase source code and haven't found any handling of column ordering for indexes. So I would recommend you to use
sqlandmodifySqlblocks (I believe most DBMSes have the same syntax forcreate index, so probably you don't needmodifySql):