console_information_schema_table_col_index
Column | Type |
---|---|
table_name | TEXT |
column_name | BLOB |
index_name | BLOB |
SQL DDL
CREATE VIEW console_information_schema_table_col_index AS
SELECT
tbl.name AS table_name,
pi.name AS column_name,
idx.name AS index_name
FROM sqlite_master tbl
JOIN pragma_index_list(tbl.name) idx
JOIN pragma_index_info(idx.name) pi
WHERE tbl.type = 'table' AND tbl.name NOT LIKE 'sqlite_%'