#database Indexes through Directus

3 messages · Page 1 of 1 (latest)

lyric briar
#

Hi, I am new to Directus. we are using PostgresSQl as DB. just want to know do we have a way to add clustered and non-clustered indexes through Directus UI or API?

rare talon
#

No, currently it is not possible to add indexes through the ui / api. You would have to do that manually at the database level/

#

Also remember that if you take out schema snapshot, the indexes information won't be outputted, so you would have to do that again on a new database, or dump your entire database and move.