Hi, I'm building my migrations like this:
tauri_plugin_sql::Builder::default()
.add_migrations(
"sqlite:app.db",
vec![
migration![1674364901_agent],
migration![1674365066_client],
migration![1674365089_real_estate],
],
)
.build(),
// this being the macro definition
#[macro_export]
macro_rules! migration {
($name: tt) => {
Migration {
version: 1,
description: stringify!($name.sql),
sql: include_str![concat!("../migrations/", stringify!($name.sql))],
kind: tauri_plugin_sql::MigrationKind::Up,
}
};
}
However, for some reason, only the first migration is ever executed and the rest are ignored. Should I be using a different version of the plugin? I am using the dev branch at the moment.