Hotfix - Postgres collation default case-sensitive?

This commit is contained in:
Billy Chan 2021-08-06 10:54:09 +08:00
parent 22649f36a2
commit 9b61e22ba9
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -205,7 +205,7 @@ pub async fn find_all_filter_with_results() {
.expect("could not insert bakery"); .expect("could not insert bakery");
let bakeries = Bakery::find() let bakeries = Bakery::find()
.filter(bakery::Column::Name.contains("bakery")) .filter(bakery::Column::Name.contains("Bakery"))
.all(&ctx.db) .all(&ctx.db)
.await .await
.unwrap(); .unwrap();