`boolean` is the correct type in postgresql