mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-27 13:46:32 +00:00
Fix typo in migration example from 'uesrs' to 'users' (#4068)
This commit is contained in:
@@ -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...
|
||||
/// ];
|
||||
|
||||
Reference in New Issue
Block a user