File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2158,8 +2158,10 @@ BEGIN
2158
2158
AND (only_schemas IS NULL
2159
2159
OR schema = ANY (only_schemas))
2160
2160
LOOP
2161
- result := result || E' \n <entity name="' || quote_xml(t) || E' ">\n '
2162
- ' <attributes>\n ' ;
2161
+ result := result || E' \n <entity name="' || quote_xml(t) || E' " label="'
2162
+ || quote_xml(t) || E' " description="A '
2163
+ || quote_xml(t) || E' entity" delete="false" translatable="false">\n '
2164
+ || E' <attributes>\n ' ;
2163
2165
2164
2166
/* loop all columns in the table */
2165
2167
FOR c, ty, nul IN
@@ -2170,6 +2172,11 @@ BEGIN
2170
2172
OR schema = ANY (only_schemas))
2171
2173
ORDER BY position
2172
2174
LOOP
2175
+ /* use "text" for all string types */
2176
+ IF ty LIKE ' character%' THEN
2177
+ ty := ' text' ;
2178
+ END IF;
2179
+
2173
2180
result := result || E' <attribute name="' || quote_xml(c)
2174
2181
|| E' " datatype="' || quote_xml(ty)
2175
2182
|| E' " required="' || CASE WHEN nul THEN ' false' ELSE ' true' END
You can’t perform that action at this time.
0 commit comments