Compound primary keys

Change the generated SQL to be compatible with syntax for simple and compound primary keys