title: How to use different tablespaces for tables and indexes with liquibase in Java
body: <p>I'm using liquibase (3.6.3) in Spring Boot (2.1.8) java (1.8) application for managing database (Oracle 12.2) schema changes. My liquibase changesets does not contain 'tablespace' params and all data (including indexes) is creating in default tablespace 'USERS'. Now I need to relocate all existing indexes to another tablespace 'INDX' and create all future indexes not in default 'USERS' tablespace, but in new 'INDX' tablespace.</p>
  
  <p>So, my questions:</p>
  
  <ol>
  <li><p>How can I migrate old indexes from 'USERS' tablespace to 'INDX' tablespace?</p></li>
  <li><p>How can I create new indexes in 'INDX' tablespace? I know 'primaryKeyTablespace' param for column/constraint element and 'tablespace' param for createIndex element, is there any other solutions? Possibly I can specify 'INDX' tablespace for all indexes centralized?</p></li>
  </ol>
  
  <p>Thank you!</p>