diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-07 16:47:32 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-07 16:47:32 +0530 |
commit | 5916403991e0f3f8f14523827745bae42e2817d1 (patch) | |
tree | 8a4bedd08dabca2867af6d24cf9f3c731c5da64a /guides | |
parent | e0672a8e3b900190bac59645465accbab7e08f52 (diff) | |
download | rails-5916403991e0f3f8f14523827745bae42e2817d1.tar.gz rails-5916403991e0f3f8f14523827745bae42e2817d1.tar.bz2 rails-5916403991e0f3f8f14523827745bae42e2817d1.zip |
Revert "Where migration can get wrong help added"
This reverts commit b11113f924d2eb2acbe836954d17a02163f45275.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/migrations.textile | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/guides/source/migrations.textile b/guides/source/migrations.textile index 0405f45fa8..f663496854 100644 --- a/guides/source/migrations.textile +++ b/guides/source/migrations.textile @@ -927,13 +927,3 @@ features, the +execute+ method can be used to execute arbitrary SQL. You could also use some plugin like "foreigner":https://github.com/matthuhiggins/foreigner which add foreign key support to Active Record (including support for dumping foreign keys in +db/schema.rb+). - -h3. Where you may get into trouble ? - -While running specific migrations with VERSION specified, By mistake if you misspell -command you may get into big trouble. - -Consider scenario where you want to run down migration +db:migrate:down VERSION=324213490000+ -By mistake if you type something like +db:migrate :down VERSION=324213490000+ then it will -change the complete meaning of migration command and it will be migrated like you are -executing +db:migrate VERSION=32421349000+ |