mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add history model
This commit is contained in:
parent
4a593f2245
commit
5b3e091f2b
2 changed files with 70 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue