Skip to content

Commit

Permalink
dont use auto ID for "ui_table_command_source_files"
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Jan 2, 2025
1 parent 0633122 commit c672421
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 @@ -14042,7 +14042,7 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
*/
tableName: "ui_table_command_source_files",
fields: [
{name: "id", fieldType: "INT PRIMARY KEY AUTOINCREMENT"},
{name: "id", fieldType: "INTEGER"},
{name: "source_file_name", fieldType: "STRING"},
{name: "source_text", fieldType: "STRING"}

Expand Down Expand Up @@ -14082,8 +14082,8 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
{
file_name: fileName
})
yz.uiDb.sqlui("INSERT INTO ui_table_command_source_files ( source_file_name , source_text ) VALUES (?,?)",
[result.fileName,result.contents])
yz.uiDb.sqlui("INSERT INTO ui_table_command_source_files ( id , source_file_name , source_text ) VALUES (?,?,?)",
[yz.uiDb.uiDbNextId ++,result.fileName,result.contents])
yz.debug.linesOfSourceFile[result.fileName] = result.contents.split('\n');
},
findSourceLineInCode: function ( searchText ) {
Expand Down

0 comments on commit c672421

Please sign in to comment.