Skip to content

Commit

Permalink
fix typos on migrations guide [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Rodriguez committed May 29, 2012
1 parent 2c4da97 commit 34f82ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/source/migrations.textile
Expand Up @@ -8,12 +8,12 @@ production machines next time you deploy.


Active Record tracks which migrations have already been run so all you have to Active Record tracks which migrations have already been run so all you have to
do is update your source and run +rake db:migrate+. Active Record will work out do is update your source and run +rake db:migrate+. Active Record will work out
which migrations should be run by checking the hidden +schema_mirgrations+ database which migrations should be run by checking the hidden +schema_migrations+ database
table, which is created automatically after the initial invocaton of +rake db:migrate+. table, which is created automatically after the initial invocaton of +rake db:migrate+.
+schema_migrations+ contains a sole column named +versions+ that holds the time +schema_migrations+ contains a sole column named +versions+ that holds the timestamps
stamps that are preappended to generated Active Record migrations. Each time stamp that are preappended to generated Active Record migrations. Each timestamp
contained in +schema_migrations+ indicate that the migration associated with the contained in +schema_migrations+ indicate that the migration associated with the
time stamp has previously been invoked, and does not need to be run on future timestamp has previously been invoked, and does not need to be run on future
+rake db:migrate+ invocations. Active Record will also update your +db/schema.rb+ +rake db:migrate+ invocations. Active Record will also update your +db/schema.rb+
file to match the up-to-date structure of your database. file to match the up-to-date structure of your database.


Expand Down

0 comments on commit 34f82ab

Please sign in to comment.