Add identity for primary key column
Fix sql generating for table with only one column