mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
feat(sql,store): add Builder::new
ref: https://github.com/tauri-apps/tauri/issues/8880
This commit is contained in:
@@ -273,6 +273,10 @@ pub struct Builder {
|
||||
}
|
||||
|
||||
impl Builder {
|
||||
fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Add migrations to a database.
|
||||
#[must_use]
|
||||
pub fn add_migrations(mut self, db_url: &str, migrations: Vec<Migration>) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user