Sha256: d83e4574cbec7d7a0739d7f00d0a6e4ae13e7ef65b03c6185cdaad3c3ba4141c

Contents?: true

Size: 254 Bytes

Versions: 16

Compression:

Stored size: 254 Bytes

Contents

namespace :db do
  desc "Drop, create, migrate, then seed the database"
  task :reset_db => :environment do
    Rake::Task['db:drop'].invoke
    Rake::Task['db:create'].invoke
    Rake::Task['db:migrate'].invoke
    Rake::Task['db:seed'].invoke
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ideyabox-0.1.12 app/tasks/reset_db.rake
ideyabox-0.1.11 app/tasks/reset_db.rake
ideyabox-0.1.10 app/tasks/reset_db.rake
ideyabox-0.1.9 app/tasks/reset_db.rake
ideyabox-0.1.8 app/tasks/reset_db.rake
ideyabox-0.1.7 app/tasks/reset_db.rake
ideyabox-0.1.6 app/tasks/reset_db.rake
ideyabox-0.1.5 app/tasks/reset_db.rake
ideyabox-0.1.4 app/tasks/reset_db.rake
ideyabox-0.1.3 app/tasks/reset_db.rake
ideyabox-0.1.2 app/tasks/reset_db.rake
ideyabox-0.1.0 app/tasks/reset_db.rake
ideyabox-0.0.6 app/tasks/reset_db.rake
ideyabox-0.0.5 app/tasks/reset_db.rake
ideyabox-0.0.3 lib/generators/ideyabox/admin/templates/tasks/reset_db.rake
ideyabox-0.0.2 lib/generators/ideyabox/admin/templates/tasks/reset_db.rake