Make add_primary_key work on h2

Adding an identity column automatically makes it a primary key
on h2, so you don't need to add the constraint manually.  However,
if you override the :type, then you do need to add the constraint.