Browse Source

update table name

CPP-GTK4
yggverse 3 months ago
parent
commit
6c2dc8c4ac
  1. 4
      src/app/browser/main/tab.cpp

4
src/app/browser/main/tab.cpp

@ -16,7 +16,7 @@ Tab::Tab(
// Init database // Init database
db.exec( db.exec(
R"SQL( R"SQL(
CREATE TABLE IF NOT EXISTS `app_browser_tab` CREATE TABLE IF NOT EXISTS `app_browser_main_tab`
( (
`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
`time` INTEGER NOT NULL, `time` INTEGER NOT NULL,
@ -46,6 +46,8 @@ Tab::Tab(
action__refresh->activate(); action__refresh->activate();
} }
); );
// @TODO restore session from DB
} }
// Actions // Actions

Loading…
Cancel
Save