Skip to content

Commit a802da0

Browse files
authored
Fix typo in migration example from 'uesrs' to 'users' (#4068)
1 parent 946b6d4 commit a802da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/migrate/migrator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl Migrator {
8080
/// // Define your migrations.
8181
/// // You can also use include_str!("./xxx.sql") instead of hard-coded SQL statements.
8282
/// let migrations = vec![
83-
/// Migration::new(1, "user".into(), ReversibleUp, "create table uesrs ( ... )".into_sql_str(), false),
83+
/// Migration::new(1, "user".into(), ReversibleUp, "create table users ( ... )".into_sql_str(), false),
8484
/// Migration::new(2, "post".into(), ReversibleUp, "create table posts ( ... )".into_sql_str(), false),
8585
/// // add more...
8686
/// ];

0 commit comments

Comments
 (0)