From a802da0e674e3b890d2fa3580ee843d687f2e32f Mon Sep 17 00:00:00 2001 From: Kevin R Date: Wed, 22 Oct 2025 10:40:50 -0700 Subject: [PATCH] Fix typo in migration example from 'uesrs' to 'users' (#4068) --- 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 375c2af3..53295c92 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... /// ];