diff --git a/adapter/0.2.8.json b/adapter/0.2.8.json new file mode 100644 index 00000000..000a685c --- /dev/null +++ b/adapter/0.2.8.json @@ -0,0 +1,58 @@ +/** + * Copyright © 2016-2018 by IntegrIT S.A. dba Hackolade. All rights reserved. + * + * The copyright to the computer software herein is the property of IntegrIT S.A. + * The software may be used and/or copied only with the written permission of + * IntegrIT S.A. or in accordance with the terms and conditions stipulated in + * the agreement/contract under which the software has been supplied. + * + * { + * "add": { + * "entity": [], + * "container": [], + * "model": [], + * "view": [], + * "field": { + * "": [] + * } + * }, + * "delete": { + * "entity": [], + * "container": [], + * "model": [], + * "view": [], + * "field": { + * "": [] + * } + * }, + * "modify": { + * "entity": [ + * { + * "from": { }, + * "to": { } + * } + * ], + * "container": [], + * "model": [], + * "view": [], + * "field": [] + * }, + * } + */ +{ + "add": {}, + "modify": { + "field": [ + { + "from": { + "primaryKey": true, + "unique": true + }, + "to": { + "unique": false + } + } + ] + }, + "delete": {} +} diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index a643d1bd..62dbd258 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -291,6 +291,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -391,12 +398,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -686,6 +702,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -712,12 +735,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -1161,6 +1193,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -1187,12 +1226,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -1464,6 +1512,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -1490,12 +1545,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -1750,6 +1814,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -1776,12 +1847,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -2035,6 +2115,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -2061,12 +2148,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -2340,6 +2436,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -2366,12 +2469,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -2666,6 +2778,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -2692,12 +2811,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -2949,6 +3077,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -2975,12 +3110,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] }, @@ -3264,6 +3408,13 @@ making sure that you maintain a proper JSON format. "exist": false } ] + }, + { + "type": "not", + "values": { + "key": "unique", + "value": true + } } ] } @@ -3290,12 +3441,21 @@ making sure that you maintain a proper JSON format. "type": "or", "values": [ { - "key": "compositePrimaryKey", - "value": false + "type": "or", + "values": [ + { + "key": "primaryKey", + "value": false + }, + { + "key": "primaryKey", + "exist": false + } + ] }, { "key": "compositePrimaryKey", - "exist": false + "value": true } ] },