diff --git a/libs/db/database.rs b/libs/db/database.rs index b965878..5e9ea96 100644 --- a/libs/db/database.rs +++ b/libs/db/database.rs @@ -31,6 +31,7 @@ impl AppDatabase { .connect_timeout(Duration::from_secs(connection_timeout)) .set_schema_search_path(schema_search_path) .sqlx_logging(false) + .check_compatibility(false) .to_owned(); let db_write = Database::connect(conn_cfg).await?; @@ -42,6 +43,7 @@ impl AppDatabase { .idle_timeout(Duration::from_secs(idle_timeout)) .max_lifetime(Duration::from_secs(max_lifetime)) .connect_timeout(Duration::from_secs(connection_timeout)) + .check_compatibility(false) .to_owned(); Some(Database::connect(conn_cfg).await?)