Patch for sqlite to pg boolean