Boolean column issue

hi i got this case

this is a db from another system, client wants to use it, they got a column named Cotizacion, and its int type, i have a table with boolean 1 = true and 0 = false, but when im saving it it still shows true / false. How i can do to send to db 1 or 0 instead or true false?

i got this transformer to save to db

let data =  {{table4.changesetArray}}
let id = {{}}
let fecha_actualiza = {{"America/Panama").format() }}

return => {
  return Object.assign(row, {
    "fecha_actualiza": fecha_actualiza,
    "usuario": {{current_user.firstName}}

fixed by using boolean type in postgresql