create table generator code review