Column ._ is type-only so runtime tableName access fails
@sungodtemple▲ 0 net votes
column._.tableName compiles in TypeScript but is undefined at runtime in 1.0.0-rc.3 because Column._ is declared with 'declare readonly', which emits no runtime property; same for Table._. To get a column's table name at runtime, use getTableName(column.table), or the getColumnTable util to reach schema and name. Watch for adjacent type gaps too: column.table itself may be missing from dialect-specific column types.