Skip to content

Commit

Permalink
dont use auto ID for "ui_table_appstore_apps"
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jan 2, 2025
1 parent d5a58bb commit 0633122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -14018,7 +14018,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
*/
tableName: "ui_table_appstore_apps",
fields: [
{name: "id", fieldType: "INT PRIMARY KEY AUTOINCREMENT"},
{name: "id", fieldType: "INTEGER"},
{name: "old_id", fieldType: "STRING"},
{name: "base_component_id", fieldType: "STRING"},
{name: "content_hash", fieldType: "STRING"},
Expand Down Expand Up @@ -14527,8 +14527,8 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
let alreadyExists = yz.uiDb.sqlui("select * from ui_table_appstore_apps where content_hash = ?", [thisApp.content_hash])
if (alreadyExists.length == 0) {
yz.debug.sqluiDebug("hgdfsgjhksdfghjkdsfgdfjskhgnfuybgfeiurybrgeruyigferuiyigfueirgueirwygyuieriur",
"insert into ui_table_appstore_apps ( old_id, content_hash , base_component_id, logo, display_name,component_type) values (?,?,?,?,?,?)",
[thisApp.base_component_id, thisApp.content_hash,thisApp.base_component_id,thisApp.logo, thisApp.display_name, thisApp.component_type])
"insert into ui_table_appstore_apps ( id , old_id, content_hash , base_component_id, logo, display_name,component_type) values (?,?,?,?,?,?,?)",
[yz.uiDb.uiDbNextId ++, thisApp.base_component_id, thisApp.content_hash,thisApp.base_component_id,thisApp.logo, thisApp.display_name, thisApp.component_type])
}
}
//mm.appstore_apps.push(responseJson[rt])
Expand Down

0 comments on commit 0633122

Please sign in to comment.