public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
Fixed that db:reset would use migrations instead of loading db/schema.rb 
[DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8123 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Fri Nov 09 13:58:24 -0800 2007
commit  2e12afaefeb0fe3907dd0a8578a620835a1ea452
tree    19de03885e2aa47a832eaa34a442ee660d148081
parent  9d56d12360b85982fae316ad31a925ab73bbdc33
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *SVN*
0
 
0
+* Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]
0
+
0
 * Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]
0
 
0
 * Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. Closes #9795 [lazyatom]
...
93
94
95
96
97
 
 
98
99
100
...
93
94
95
 
 
96
97
98
99
100
0
@@ -93,8 +93,8 @@
0
     ActiveRecord::Migrator.migrate('db/migrate/', version)
0
   end
0
 
0
- desc 'Drops, creates and then migrates the database for the current environment. Target specific version with VERSION=x'
0
- task :reset => ['db:drop', 'db:create', 'db:migrate']
0
+ desc 'Drops and recreates the database from db/schema.rb for the current environment.'
0
+ task :reset => ['db:drop', 'db:create', 'db:schema:load']
0
 
0
   desc "Retrieves the charset for the current environment's database"
0
   task :charset => :environment do

Comments

    No one has commented yet.