fix static column detection

fixes sync_table for tables with static columns