Skip to content

Commit

Permalink
add adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMyroslav committed May 30, 2022
1 parent f72221d commit 01fcbb4
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 41 deletions.
58 changes: 58 additions & 0 deletions adapter/0.1.20.json
Original file line number Diff line number Diff line change
@@ -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": [<names of new property>],
* "container": [<names of new property>],
* "model": [<names of new property>],
* "view": [<names of new property>],
* "field": {
* "<type>": [<names of new property>]
* }
* },
* "delete": {
* "entity": [<names of new property>],
* "container": [<names of new property>],
* "model": [<names of new property>],
* "view": [<names of new property>],
* "field": {
* "<type>": [<names of new property>]
* }
* },
* "modify": {
* "entity": [
* {
* "from": { <properties that identify record> },
* "to": { <properties that need to be changed> }
* }
* ],
* "container": [],
* "model": [],
* "view": [],
* "field": []
* },
* }
*/
{
"modify": {
"entity": [
[
"setRdbmEntityCompositeKeys",
"primaryKey",
"compositePrimaryKey",
"primaryKey",
[
"unique",
"compositePrimaryKey",
"compositeUniqueKey"
]
]
]
}
}
26 changes: 22 additions & 4 deletions properties_pane/entity_level/entityLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,12 +724,30 @@ making sure that you maintain a proper JSON format.
"value": true
},
{
"key": "compositePrimaryKey",
"value": false
"type": "or",
"values": [
{
"key": "compositePrimaryKey",
"value": false
},
{
"key": "compositePrimaryKey",
"exist": false
}
]
},
{
"key": "compositeUniqueKey",
"value": false
"type": "or",
"values": [
{
"key": "compositeUniqueKey",
"value": false
},
{
"key": "compositeUniqueKey",
"exist": false
}
]
}
]
}
Expand Down
Loading

0 comments on commit 01fcbb4

Please sign in to comment.