ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject incubator-ignite git commit: # ignite-843 Added load schema from postgres .
Date Wed, 01 Jul 2015 03:40:36 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 7850b0dd3 -> 4a0fd0331


# ignite-843 Added load schema from postgres .


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4a0fd033
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4a0fd033
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4a0fd033

Branch: refs/heads/ignite-843
Commit: 4a0fd0331b8dc18814eaa93cb0152c1ab494bfc6
Parents: 7850b0d
Author: Andrey <anovikov@gridgain.com>
Authored: Wed Jul 1 10:41:10 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Wed Jul 1 10:41:10 2015 +0700

----------------------------------------------------------------------
 modules/webconfig/nodejs/routes/persistences.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4a0fd033/modules/webconfig/nodejs/routes/persistences.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/routes/persistences.js b/modules/webconfig/nodejs/routes/persistences.js
index b1dfdb7..409ff5f 100644
--- a/modules/webconfig/nodejs/routes/persistences.js
+++ b/modules/webconfig/nodejs/routes/persistences.js
@@ -295,7 +295,7 @@ router.post('/pg', function(req, res) {
                                     var valClsName = toJavaClassName(table.table_name);
 
                                     tables.push({
-                                        use: true,
+                                        use: pks.length > 0,
                                         schemaName: table.table_schema, tableName: table.table_name,
                                         keyClass: valClsName + 'Key', valueClass: valClsName,
                                         columns: cols


Mime
View raw message