Add some more pg gems for Sequel.
Fix issue with #set_primary_key.

This should be #primary_key methinks.
Order by the created_at field and limit to one.

This will always get the latest version.
Add created_at column to database.