Move model indexes into indexes.db to avoid deprecation warnings