Skip to content

Commit 4ab84e2

Browse files
committed
Added adapter to fix format property in existing models
1 parent e5e6e4f commit 4ab84e2

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed

adapter/0.1.37.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* "remove": {
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+
"modify": {
44+
"field": [
45+
{
46+
"from": {
47+
"type": "integer",
48+
"format": "int64"
49+
},
50+
"to": {
51+
"mode": "int64"
52+
}
53+
},
54+
{
55+
"from": {
56+
"type": "integer",
57+
"format": "int32"
58+
},
59+
"to": {
60+
"mode": "int32"
61+
}
62+
},
63+
{
64+
"from": {
65+
"type": "number",
66+
"format": "float"
67+
},
68+
"to": {
69+
"mode": "float"
70+
}
71+
},
72+
{
73+
"from": {
74+
"type": "number",
75+
"format": "double"
76+
},
77+
"to": {
78+
"mode": "double"
79+
}
80+
}
81+
]
82+
},
83+
"delete": {
84+
"field": {
85+
"integer": [
86+
"format"
87+
],
88+
"number": [
89+
"format"
90+
]
91+
}
92+
}
93+
}

0 commit comments

Comments
 (0)