Skip to content

Commit

Permalink
Merge pull request go-gorm#208 from longnguyen11288/patch-1
Browse files Browse the repository at this point in the history
Fixed spelling error
  • Loading branch information
jinzhu committed Aug 28, 2014
2 parents 8f22434 + 4fa2faf commit e6715ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ db.DropTableIfExists(User{})

// Automating Migration
db.AutoMigrate(User{})
db.AutoMigrate(User{}, Proudct{}, Order{})
db.AutoMigrate(User{}, Product{}, Order{})

// Feel free to change your struct, AutoMigrate will keep your database up-to-date.
// Fyi, AutoMigrate will only *add new columns*, it won't update column's type or delete unused columns, to make sure your data is safe.
Expand Down

0 comments on commit e6715ce

Please sign in to comment.