Changing primary key to serial type