Skip to content

Commit

Permalink
fix DATABASE_SCHEMA_VERSION, remove unused event_db_url cli arg (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy authored Dec 9, 2024
1 parent 0a93629 commit 9a510ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion catalyst-gateway/bin/src/db/event/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub(crate) mod schema_check;

/// Database version this crate matches.
/// Must equal the last Migrations Version Number from `event-db/migrations`.
pub(crate) const DATABASE_SCHEMA_VERSION: i32 = 9;
pub(crate) const DATABASE_SCHEMA_VERSION: i32 = 2;

/// Postgres Connection Manager DB Pool
type SqlDbPool = Arc<Pool<PostgresConnectionManager<NoTls>>>;
Expand Down
4 changes: 0 additions & 4 deletions catalyst-gateway/bin/src/settings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ fn calculate_service_uuid() -> String {
#[derive(Args, Clone)]
#[clap(version = BUILD_INFO)]
pub(crate) struct ServiceSettings {
/// Url to the postgres event db
#[clap(long, env)]
pub(crate) event_db_url: Option<String>,

/// Logging level
#[clap(long, default_value = LOG_LEVEL_DEFAULT)]
pub(crate) log_level: LogLevel,
Expand Down

0 comments on commit 9a510ec

Please sign in to comment.