# BaseModel.syncIndices() method · @imqueue/pg-sequelize

Source: https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.basemodel.syncindices/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-sequelize 4.2.0 — generated reference, not hand-written

Creates every column index declared on this model.

**Signature:**

```typescript
static syncIndices(_options?: SyncOptions): Promise<any>;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| \_options | [SyncOptions](https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.syncoptions/) | _(Optional)_ Accepted for symmetry with the other sync methods, not read. |


**Returns:**

Promise<any>

Resolves once every index of this model exists.

## Remarks

Reads the declarations left behind by `ColumnIndex` and `NullableIndex` and creates them concurrently. A model that declares none resolves immediately — it used to throw, which made this unsafe to call on anything but a model `Sequelize.getModelsWithIndices()` had already picked out.

