plugins-workspace
plugins-workspace copied to clipboard
Load file using tauri-plugin-sql
I want to load a test.db file in the program using your plugin. I created the database structure file myself, and now how should I load the test.db file?
Right now there's isn't a nice way to do it. The plugin expects you to rely on migrations for that. Alternatively you can write the database file into the AppDataDir() folder before loading it. Having this built-in would probably be nice, basically https://github.com/tauri-apps/plugins-workspace/issues/1155 but writable.