aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-30 22:40:31 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-30 22:40:31 +0530
commit2adba2e2856584dbb9cbd1e6618b289acdded555 (patch)
treed355eee487d1e68f371a9ba272476206b88aa057 /guides
parent5559a2ae98dcda6854f38890025b52edfb2836f5 (diff)
downloadrails-2adba2e2856584dbb9cbd1e6618b289acdded555.tar.gz
rails-2adba2e2856584dbb9cbd1e6618b289acdded555.tar.bz2
rails-2adba2e2856584dbb9cbd1e6618b289acdded555.zip
let's not add too much details upfront in the introduction [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/migrations.textile9
1 files changed, 1 insertions, 8 deletions
diff --git a/guides/source/migrations.textile b/guides/source/migrations.textile
index 248afbfb93..342b5a4d57 100644
--- a/guides/source/migrations.textile
+++ b/guides/source/migrations.textile
@@ -8,14 +8,7 @@ production machines next time you deploy.
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
-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+.
-+schema_migrations+ contains a sole column named +versions+ that holds the timestamps
-that are preappended to generated Active Record migrations. Each timestamp
-contained in +schema_migrations+ indicate that the migration associated with the
-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+
-file to match the up-to-date structure of your database.
+which migrations should be run. Active Record will also update your +db/schema.rb+ file to match the up-to-date structure of your database.
Migrations also allow you to describe these transformations using Ruby. The
great thing about this is that (like most of Active Record's functionality) it