goby-database 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -590,6 +590,9 @@ class Project{
590
590
  this.db.prepare(`DELETE FROM system_root WHERE id = ${id}`).run();
591
591
  }
592
592
 
593
+ action_set_root_item_value(id,value){
594
+ this.db.prepare(`UPDATE system_root set value = ? WHERE id = ?`).run(value,id);
595
+ }
593
596
 
594
597
  action_add_row(class_id,class_name){
595
598
  //first add new row to root and get id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goby-database",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "This will hold the core better-sqlite3-powered application for creating and modifying goby databases",
5
5
  "main": "index.js",
6
6
  "scripts": {