add history model

This commit is contained in:
yggverse 2024-11-12 17:07:00 +02:00
parent 4a593f2245
commit 5b3e091f2b
2 changed files with 70 additions and 0 deletions

View file

@ -1,7 +1,9 @@
mod bookmark;
mod history;
mod identity;
use bookmark::Bookmark;
use history::History;
use identity::Identity;
use sqlite::{Connection, Error};
@ -55,6 +57,7 @@ fn init(mut connection: RwLockWriteGuard<'_, Connection>) -> Result<(), Error> {
// Init profile components
Bookmark::init(&transaction)?;
History::init(&transaction)?;
Identity::init(&transaction)?;
// Apply changes