Skip to content

Commit d9b50d7

Browse files
authored
HCK-8237: field single PK and UK should be mutually exclusive (#122)
* field single PK and UK should be mutually exclusive * adjust PK, UK dependencies for other field types * enable showing all abbreviations * adjust adapter version for the current plugin version
1 parent 0af0ea4 commit d9b50d7

File tree

3 files changed

+231
-28
lines changed

3 files changed

+231
-28
lines changed

adapter/0.2.14.json

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/**
2+
* Copyright © 2016-2018 by IntegrIT S.A. dba Hackolade. All rights reserved.
3+
*
4+
* The copyright to the computer software herein is the property of IntegrIT S.A.
5+
* The software may be used and/or copied only with the written permission of
6+
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
7+
* the agreement/contract under which the software has been supplied.
8+
*
9+
* {
10+
* "add": {
11+
* "entity": [<names of new property>],
12+
* "container": [<names of new property>],
13+
* "model": [<names of new property>],
14+
* "view": [<names of new property>],
15+
* "field": {
16+
* "<type>": [<names of new property>]
17+
* }
18+
* },
19+
* "delete": {
20+
* "entity": [<names of new property>],
21+
* "container": [<names of new property>],
22+
* "model": [<names of new property>],
23+
* "view": [<names of new property>],
24+
* "field": {
25+
* "<type>": [<names of new property>]
26+
* }
27+
* },
28+
* "modify": {
29+
* "entity": [
30+
* {
31+
* "from": { <properties that identify record> },
32+
* "to": { <properties that need to be changed> }
33+
* }
34+
* ],
35+
* "container": [],
36+
* "model": [],
37+
* "view": [],
38+
* "field": []
39+
* },
40+
* }
41+
*/
42+
{
43+
"add": {},
44+
"modify": {
45+
"field": [
46+
{
47+
"from": {
48+
"primaryKey": true,
49+
"unique": true
50+
},
51+
"to": {
52+
"unique": false
53+
}
54+
}
55+
]
56+
},
57+
"delete": {}
58+
}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
},
5050
"FEScriptCommentsSupported": true,
5151
"enableFetchSystemEntitiesCheckbox": true,
52-
"discoverRelationships": true
52+
"discoverRelationships": true,
53+
"enableKeysMultipleAbrr": true
5354
}
5455
},
5556
"description": "Hackolade plugin for PostgreSQL",

0 commit comments

Comments
 (0)