added primary keys to tables without them