X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fcode_migrations.rs;h=d626c7de70c066ae40ead53be39accf56d931352;hb=2985e88a493b8502d7338af746f6d83847570c1e;hp=4c0becfe951202dc7b55ed3fe48bfb4947dd7380;hpb=bbd739af9b7757b5360bbe01949b5da36d9eb4c6;p=lemmy.git diff --git a/src/code_migrations.rs b/src/code_migrations.rs index 4c0becfe..d626c7de 100644 --- a/src/code_migrations.rs +++ b/src/code_migrations.rs @@ -53,7 +53,7 @@ fn user_updates_2020_04_02( // Update the actor_id, private_key, and public_key, last_refreshed_at let incorrect_persons = person - .filter(actor_id.like("http://changeme_%")) + .filter(actor_id.like("http://changeme%")) .filter(local.eq(true)) .load::(conn)?; @@ -91,7 +91,7 @@ fn community_updates_2020_04_02( // Update the actor_id, private_key, and public_key, last_refreshed_at let incorrect_communities = community - .filter(actor_id.like("http://changeme_%")) + .filter(actor_id.like("http://changeme%")) .filter(local.eq(true)) .load::(conn)?; @@ -143,7 +143,7 @@ fn post_updates_2020_04_03( // Update the ap_id let incorrect_posts = post - .filter(ap_id.like("http://changeme_%")) + .filter(ap_id.like("http://changeme%")) .filter(local.eq(true)) .load::(conn)?; @@ -171,7 +171,7 @@ fn comment_updates_2020_04_03( // Update the ap_id let incorrect_comments = comment - .filter(ap_id.like("http://changeme_%")) + .filter(ap_id.like("http://changeme%")) .filter(local.eq(true)) .load::(conn)?; @@ -199,7 +199,7 @@ fn private_message_updates_2020_05_05( // Update the ap_id let incorrect_pms = private_message - .filter(ap_id.like("http://changeme_%")) + .filter(ap_id.like("http://changeme%")) .filter(local.eq(true)) .load::(conn)?; @@ -252,7 +252,7 @@ fn apub_columns_2021_02_02(conn: &PgConnection) -> Result<(), LemmyError> { { use lemmy_db_schema::schema::person::dsl::*; let persons = person - .filter(inbox_url.like("http://changeme_%")) + .filter(inbox_url.like("http://changeme%")) .load::(conn)?; for p in &persons { @@ -270,7 +270,7 @@ fn apub_columns_2021_02_02(conn: &PgConnection) -> Result<(), LemmyError> { { use lemmy_db_schema::schema::community::dsl::*; let communities = community - .filter(inbox_url.like("http://changeme_%")) + .filter(inbox_url.like("http://changeme%")) .load::(conn)?; for c in &communities {