SR070

Severity: error

Summary: index definition has no fields listed

What this means

An entry in the indexes: section has an empty fields: list. Every index must reference at least one schema field; an index with no fields cannot be created in the database.

Example that triggers this

indexes:
  - fields: []

How to fix it

Add at least one field name to the index:

- { fields: [field_name] }

Back to top

Shaperail documentation lives in the same repository as the framework so every release has versioned instructions. See the latest release for the most recent version.

This site uses Just the Docs, a documentation theme for Jekyll.