Sha256: 80e865ae3ecdea6069844984ade45fdd4a426f0dbeb2550475923198db383ceb

Contents?: true

Size: 397 Bytes

Versions: 20

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

namespace :system do
  desc 'Recreate database from seeds'
  task clean: :environment do
    time = Time.now
    Rake::Task['db:drop'].invoke
    Rake::Task['db:create'].invoke
    Rake::Task['db:migrate'].invoke
    Rake::Task['db:seed'].invoke
    Rake::Task['db:test:prepare'].invoke
    puts "========== Completed in #{(Time.now - time)} s =========="
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
paid_up-0.13.21 spec/dummy/lib/tasks/system.rake
paid_up-0.13.17 spec/dummy/lib/tasks/system.rake
paid_up-0.13.16 spec/dummy/lib/tasks/system.rake
paid_up-0.13.14 spec/dummy/lib/tasks/system.rake
paid_up-0.13.13 spec/dummy/lib/tasks/system.rake
paid_up-0.13.12 spec/dummy/lib/tasks/system.rake
paid_up-0.13.11 spec/dummy/lib/tasks/system.rake
paid_up-0.13.10 spec/dummy/lib/tasks/system.rake
paid_up-0.13.9 spec/dummy/lib/tasks/system.rake
paid_up-0.13.8 spec/dummy/lib/tasks/system.rake
paid_up-0.13.7 spec/dummy/lib/tasks/system.rake
paid_up-0.13.6 spec/dummy/lib/tasks/system.rake
paid_up-0.13.5 spec/dummy/lib/tasks/system.rake
paid_up-0.13.4 spec/dummy/lib/tasks/system.rake
paid_up-0.13.3 spec/dummy/lib/tasks/system.rake
paid_up-0.13.2 spec/dummy/lib/tasks/system.rake
paid_up-0.13.1 spec/dummy/lib/tasks/system.rake
paid_up-0.13.0 spec/dummy/lib/tasks/system.rake
paid_up-0.12.4 spec/dummy/lib/tasks/system.rake
paid_up-0.12.3 spec/dummy/lib/tasks/system.rake