added primary key to models table