Removed auto generated primary keys

Replaced auto generated primary keys with ids from papatya.