mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 01:24:02 -05:00
fix(build system): delete stale .sqlx folders
This commit is contained in:
parent
8d976890a1
commit
b5574de1fb
3 changed files with 5 additions and 8 deletions
|
|
@ -43,11 +43,11 @@ cargo sqlx database create
|
|||
|
||||
for dir in swap monero-sys monero-rpc-pool; do
|
||||
echo "🔄 Running migrations in $dir..."
|
||||
(cd "$WORKSPACE_ROOT/$dir" && cargo sqlx migrate run --ignore-missing)
|
||||
(cd "$WORKSPACE_ROOT/$dir" && rm -rf .sqlx && cargo sqlx migrate run --ignore-missing)
|
||||
done
|
||||
|
||||
echo "⚡ Preparing SQLx query cache..."
|
||||
cargo sqlx prepare --workspace
|
||||
cargo sqlx prepare --workspace
|
||||
|
||||
echo "✅ SQLx query cache regenerated successfully!"
|
||||
echo "📝 The .sqlx directory has been updated with the latest query metadata."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue