Draft: Add default GIN index for extended_data
PostgreSQL provides the GIN index for composite data types, like the JSONB type. It allows the index to match the keys of JSON objects, so searching in extended_data (e.g. for an import reference) can be done using an index scan.
Edited by Nik | Klampfradler