keyListColumn reports whether a column is part of a key (primary key or unique constraint) and maps to a duckdb LIST type, which can't be indexed.
(c schema.Column)
| 49 | // keyListColumn reports whether a column is part of a key (primary key or unique |
| 50 | // constraint) and maps to a duckdb LIST type, which can't be indexed. |
| 51 | func keyListColumn(c schema.Column) bool { |
| 52 | return (c.PrimaryKey || c.Unique) && duckDBListColumn(c) |
| 53 | } |
| 54 | |
| 55 | func duckDBType(c schema.Column) string { |
| 56 | if keyListColumn(c) { |