added status_flag to cg_table_types