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