Added primary key to the example

The example was missing a primary key and it has now been added.