Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8123

Show
Ignore:
Timestamp:
11/09/07 21:58:24 (2 years ago)
Author:
david
Message:

Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r8116 r8123  
    11*SVN* 
     2 
     3* Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH] 
    24 
    35* Ensure the plugin loader only loads plugins once.  Closes #10102 [haruki_zaemon] 
  • trunk/railties/lib/tasks/databases.rake

    r8039 r8123  
    9494  end 
    9595 
    96   desc 'Drops, creates and then migrates the database for the current environment. Target specific version with VERSION=x
    97   task :reset => ['db:drop', 'db:create', 'db:migrate'] 
     96  desc 'Drops and recreates the database from db/schema.rb for the current environment.
     97  task :reset => ['db:drop', 'db:create', 'db:schema:load'] 
    9898 
    9999  desc "Retrieves the charset for the current environment's database"