Primary keys should also be marked as unique
First pass at correctly implementing sequences for postgres