mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 09:34:16 -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
|
|
@ -57,9 +57,9 @@ tower = "0.5.2"
|
|||
tower-http = { version = "0.6.6", features = ["cors"] }
|
||||
|
||||
# TLS/Security
|
||||
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
||||
tokio-rustls = "0.26"
|
||||
webpki-roots = "1"
|
||||
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
||||
|
||||
# Tor networking
|
||||
arti-client = { workspace = true, features = ["tokio"] }
|
||||
|
|
|
|||
|
|
@ -17,12 +17,9 @@ use tokio::{
|
|||
|
||||
use tokio_rustls::rustls::{
|
||||
self,
|
||||
client::{
|
||||
danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
|
||||
},
|
||||
client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
|
||||
pki_types::{CertificateDer, ServerName, UnixTime},
|
||||
Error as TlsError,
|
||||
DigitallySignedStruct, SignatureScheme,
|
||||
DigitallySignedStruct, Error as TlsError, SignatureScheme,
|
||||
};
|
||||
use tracing::{error, info_span, Instrument};
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ 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..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue