From 6f24109ec0af8b90056f613ec3d809bfaca279a8 Mon Sep 17 00:00:00 2001 From: Kevin R Date: Tue, 21 Oct 2025 23:56:33 -0700 Subject: [PATCH] Fix typo in migration example from 'uesrs' to 'users' --- sqlx-core/src/migrate/migrator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/migrate/migrator.rs b/sqlx-core/src/migrate/migrator.rs index 375c2af3fd..53295c92d0 100644 --- a/sqlx-core/src/migrate/migrator.rs +++ b/sqlx-core/src/migrate/migrator.rs @@ -80,7 +80,7 @@ impl Migrator { /// // Define your migrations. /// // You can also use include_str!("./xxx.sql") instead of hard-coded SQL statements. /// let migrations = vec![ - /// Migration::new(1, "user".into(), ReversibleUp, "create table uesrs ( ... )".into_sql_str(), false), + /// Migration::new(1, "user".into(), ReversibleUp, "create table users ( ... )".into_sql_str(), false), /// Migration::new(2, "post".into(), ReversibleUp, "create table posts ( ... )".into_sql_str(), false), /// // add more... /// ];