lib/tasks/db.rake in gris-0.1.7 vs lib/tasks/db.rake in gris-0.2.0
- old
+ new
@@ -34,10 +34,10 @@
schema_search_path: 'public')
ActiveRecord::Base.establish_connection(admin_connection)
ActiveRecord::Base.connection.drop_database(db['database'])
end
- desc 'Create the test database'
+ desc 'Recreate the database, load the schema, and initialize with the seed data'
task reset: :environment do
Rake::Task['db:drop'].invoke
Rake::Task['db:create'].invoke
Rake::Task['db:schema:load'].invoke
end