forked from apxtri/apxtri
modif Odmdb for cud
This commit is contained in:
parent
355b1cebd5
commit
3ad68d4872
@ -597,7 +597,6 @@ Odmdb.cud = (objectPathname, crud, itm, role, runindex = true) => {
|
||||
//if (log) console.log(currentmod,"getschema", getschema);
|
||||
//rebuild index if requested
|
||||
if (log) console.log(currentmod,"runidx", runindex);
|
||||
if (log) console.log(currentmod,objectPathname);
|
||||
if (runindex) Odmdb.runidx(objectPathname, getschema.data.schema);
|
||||
getschema.data.conf.lastupdatedata = dayjs().toISOString();
|
||||
fs.outputJSONSync(`${objectPathname}/conf.json`, getschema.data.conf);
|
||||
|
@ -16,7 +16,7 @@
|
||||
"dev": "NODE_MODE=dev node apxtri.js",
|
||||
"unittest": "node unittest.js",
|
||||
"tar2prod": "rm ../objects/wwws/cdn/share/apxtriV* && tar -czf ../objects/wwws/cdn/share/apxtriV$version.tar --exclude='node_modules' --exclude='.git' ../../adminapi/apxtri ../../adminapi/schema ../../adminapi/objects ../../adminapi/template ../../itm/adminapi.json",
|
||||
"apidoc": "apidoc -c ../../../conf/apidoc/apidoc_$tribe.json -o ../../$tribe/objects/wwws/cdn/apidoc/",
|
||||
"apidoc": "apidoc -c ../../../conf/apidoc/apidoc_$tribe.json -o ../../$tribe/objects/wwws/apidoc/",
|
||||
"publishtestwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/testwall-ants/tribes/$space/..",
|
||||
"publishwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/wall-ants/tribes/$space/..",
|
||||
"publishhouse": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@house-ants://home/phil/apxtowns/house-ants/tribes/$space/.."
|
||||
|
Loading…
x
Reference in New Issue
Block a user