Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load file using tauri-plugin-sql #1709

Open
Rasool-deldar opened this issue Sep 1, 2024 · 1 comment
Open

Load file using tauri-plugin-sql #1709

Rasool-deldar opened this issue Sep 1, 2024 · 1 comment
Labels
enhancement New feature or request plugin: sql question Further information is requested

Comments

@Rasool-deldar
Copy link

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?

@FabianLars FabianLars added question Further information is requested plugin: sql enhancement New feature or request labels Sep 3, 2024
@FabianLars
Copy link
Member

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 #1155 but writable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin: sql question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants