mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
resolve deadlock issue, draft migration features
This commit is contained in:
parent
259ec321be
commit
366c5fad8e
12 changed files with 192 additions and 210 deletions
|
|
@ -15,7 +15,7 @@ impl Database {
|
|||
Self {}
|
||||
}
|
||||
|
||||
pub fn init(tx: &Transaction) -> Result<Database, Error> {
|
||||
pub fn init(tx: &Transaction) -> Result<usize, Error> {
|
||||
tx.execute(
|
||||
"CREATE TABLE IF NOT EXISTS `app_browser_window_tab_label`
|
||||
(
|
||||
|
|
@ -24,9 +24,7 @@ impl Database {
|
|||
`is_pinned` INTEGER NOT NULL
|
||||
)",
|
||||
[],
|
||||
)?;
|
||||
|
||||
Ok(Self {})
|
||||
)
|
||||
}
|
||||
|
||||
pub fn add(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue