var engines = {
    'postgresql': {
        fixedTypes:{
            'boolean':{
                adapt:function(val) {