CREATE UNIQUE INDEX IF NOT EXISTS index_metadata ON metadata (name, value);