Fix postgres
This commit is contained in:
parent
b481e4c096
commit
c3af8b2aea
|
@ -527,10 +527,6 @@ function datatype(p) {
|
||||||
return 'timestamp';
|
return 'timestamp';
|
||||||
case 'Boolean':
|
case 'Boolean':
|
||||||
return 'boolean';
|
return 'boolean';
|
||||||
default:
|
|
||||||
console.log("Warning: postgres adapter does not explicitly handle type '" + p.type.name +"'");
|
|
||||||
return p.type.toLowerCase();
|
|
||||||
//TODO a default case might not be the safest thing here... postgres has a fair number of extra types though
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue