Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

do not log db url from just command (#1359)

Will Hutchinsonb1d3ba918e48
diff --git a/.github/actions/migrate-cloud-storage-db/action.yml b/.github/actions/migrate-cloud-storage-db/action.yml
index 976f0eb291..3e1047ac08 100644
--- a/.github/actions/migrate-cloud-storage-db/action.yml
+++ b/.github/actions/migrate-cloud-storage-db/action.yml
@@ -59,9 +59,9 @@ runs:
- name: Run database migrations
shell: bash
- working-directory: rust/cloud-storage
+ working-directory: rust/cloud-storage/macro_db_client
env:
DATABASE_URL: ${{ steps.get-db-url.outputs.database_url }}
run: |
echo "Running migrations for ${{ inputs.environment }} environment..."
- just sqlx::migrate_db "$DATABASE_URL"
+ cargo sqlx migrate run
diff --git a/rust/cloud-storage/notification_service/src/main.rs b/rust/cloud-storage/notification_service/src/main.rs
index be18516128..20fa7bab0f 100644
--- a/rust/cloud-storage/notification_service/src/main.rs
+++ b/rust/cloud-storage/notification_service/src/main.rs
@@ -34,8 +34,6 @@ pub async fn main() -> anyhow::Result<()> {
Environment::Local => (1, 10),
};
- println!("database url: {:?}", &config.database_url);
-
let db = PgPoolOptions::new()
.min_connections(min_connections)
.max_connections(max_connections)