Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue #18757 Fix REST flag for ORM.

  • Loading branch information...
commit 87572444f9278801acf874766a20774b6c33c987 1 parent e05a59c
@bendiy authored
View
2  enyo-client/database/orm/models/item.json
@@ -4,7 +4,6 @@
"nameSpace": "XM",
"type": "ClassCode",
"table": "classcode",
- "isRest": true,
"lockable": true,
"idSequenceName": "classcode_classcode_id_seq",
"comment": "Class Code Map",
@@ -89,6 +88,7 @@
"nameSpace": "XM",
"type": "Item",
"table": "item",
+ "isRest": true,
"lockable": true,
"idSequenceName": "item_item_id_seq",
"comment": "Item Map",
View
2  lib/orm/source/xt/javascript/orm.sql
@@ -79,7 +79,7 @@ select xt.install_js('XT','Orm','xtuple', $$
if(oldOrm.isExtension !== isExtension) throw new Error("Can not change extension state for " + nameSpace + '.' + type);
sql = 'update xt.orm set ' +
' orm_json = $1, ' +
- ' orm_seq = $2 ' +
+ ' orm_seq = $2, ' +
' orm_rest = $3 ' +
'where orm_id = $4';
plv8.execute(sql, [json, sequence, isRest, oldOrm.id]);
Please sign in to comment.
Something went wrong with that request. Please try again.