fix: disable extra_float_digits startup param for PG16 compatibility
This commit is contained in:
@@ -62,7 +62,8 @@ impl Application {
|
||||
.max_lifetime(std::time::Duration::from_secs(
|
||||
CONFIG.db.max_lifetime_seconds,
|
||||
))
|
||||
.sqlx_logging(CONFIG.log_level == "debug");
|
||||
.sqlx_logging(CONFIG.log_level == "debug")
|
||||
.map_sqlx_postgres_opts(|opts| opts.extra_float_digits(None));
|
||||
|
||||
let db = Database::connect(opt)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user