Match SQL migration db name to fresh muse_alpha_v2.db
Browse files- src-tauri/src/lib.rs +1 -2
src-tauri/src/lib.rs
CHANGED
|
@@ -24,7 +24,7 @@ pub fn run() {
|
|
| 24 |
.plugin(tauri_plugin_clipboard_manager::init())
|
| 25 |
.plugin(
|
| 26 |
tauri_plugin_sql::Builder::default()
|
| 27 |
-
.add_migrations("sqlite:
|
| 28 |
.build(),
|
| 29 |
)
|
| 30 |
.plugin(
|
|
@@ -98,7 +98,6 @@ pub fn run() {
|
|
| 98 |
#[cfg(desktop)]
|
| 99 |
app.handle().plugin(tauri_plugin_global_shortcut::Builder::new().build())?;
|
| 100 |
|
| 101 |
-
// Load zoom memory from disk
|
| 102 |
if let Ok(zoom_mem) = crate::persistence::load_json::<std::collections::HashMap<String, f64>>(app.handle(), "zoom_memory.json") {
|
| 103 |
if !zoom_mem.is_empty() {
|
| 104 |
let app_state = app.state::<AppState>();
|
|
|
|
| 24 |
.plugin(tauri_plugin_clipboard_manager::init())
|
| 25 |
.plugin(
|
| 26 |
tauri_plugin_sql::Builder::default()
|
| 27 |
+
.add_migrations("sqlite:muse_alpha_v2.db", migrations())
|
| 28 |
.build(),
|
| 29 |
)
|
| 30 |
.plugin(
|
|
|
|
| 98 |
#[cfg(desktop)]
|
| 99 |
app.handle().plugin(tauri_plugin_global_shortcut::Builder::new().build())?;
|
| 100 |
|
|
|
|
| 101 |
if let Ok(zoom_mem) = crate::persistence::load_json::<std::collections::HashMap<String, f64>>(app.handle(), "zoom_memory.json") {
|
| 102 |
if !zoom_mem.is_empty() {
|
| 103 |
let app_state = app.state::<AppState>();
|