Update (#251)
Rust CI / build (push) Failing after 2m53s

Reviewed-on: phoenix/icarus#251
This commit was merged in pull request #251.
This commit is contained in:
2026-07-07 23:25:45 -04:00
parent 50d0ea630f
commit 7ca4c655a4
10 changed files with 339 additions and 532 deletions
+1 -3
View File
@@ -5,7 +5,7 @@ pub mod connection_settings {
}
pub async fn create_pool() -> Result<sqlx::PgPool, sqlx::Error> {
let database_url = icarus_envy::environment::get_db_url().await.value;
let database_url = icarus_envy::environment::get_db_url().value;
println!("Database url: {database_url}");
PgPoolOptions::new()
@@ -15,8 +15,6 @@ pub async fn create_pool() -> Result<sqlx::PgPool, sqlx::Error> {
}
pub async fn migrations(pool: &sqlx::PgPool) {
// Run migrations using the sqlx::migrate! macro
// Assumes your migrations are in a ./migrations folder relative to Cargo.toml
sqlx::migrate!("./migrations")
.run(pool)
.await