fix (codegen): don't duplicate the primary-key getter for 'without rowid' tables

This commit is contained in:
2026-09-19 21:36:31 -07:00
parent 40bc0db036
commit 9d4a1eab10
4 changed files with 17 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ create temporary view columns as
create temporary view indexes as
select idx.name as index_name,
tables.name as table_name,
idx."unique" as is_unique
idx."unique" as is_unique,
idx.origin as origin
from tables
join pragma_index_list(tables.name) idx;