mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Fix typo in migration example from 'uesrs' to 'users' (#4068)
This commit is contained in:
parent
946b6d4d16
commit
a802da0e67
@ -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...
|
||||
/// ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user