From 47acc81cd3bef609d965817fecbade3e02c0be44 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 4 Aug 2014 21:04:57 -0700 Subject: [PATCH 1/2] support for array type. --- lib/utils.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index de8483ab..c4af2477 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -257,7 +257,7 @@ utils.sqlTypeCast = function(type) { return 'TIMESTAMP WITH TIME ZONE'; case 'array': - return 'TEXT'; + return 'text []'; case 'json': return 'JSON'; diff --git a/package.json b/package.json index 89dd42ed..ec4f6056 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lodash": "~2.4.1", "async": "~0.9.0", "waterline-errors": "~0.10.0", - "waterline-sequel": "~0.0.2", + "waterline-sequel": "git://github.com/AnalogJ/waterline-sequel.git", "waterline-cursor": "~0.0.3" }, "devDependencies": { From 820b5a18a2d09b71103b5d99b7dc8f954d60330f Mon Sep 17 00:00:00 2001 From: jason Date: Tue, 12 Aug 2014 14:34:31 -0700 Subject: [PATCH 2/2] hard dependency on waterline-cursor 0.0.3 because of https://github.com/balderdashy/waterline-cursor/issues/1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec4f6056..c8ecc305 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "async": "~0.9.0", "waterline-errors": "~0.10.0", "waterline-sequel": "git://github.com/AnalogJ/waterline-sequel.git", - "waterline-cursor": "~0.0.3" + "waterline-cursor": "0.0.3" }, "devDependencies": { "mocha": "*",