Sha256: 573dd173efc458121470447b80e73c5afa22d65bfae5b3f49e7c68359c848e30
Contents?: true
Size: 571 Bytes
Versions: 3
Compression:
Stored size: 571 Bytes
Contents
namespace :trilogy do task :setup do require 'bundler' Bundler.require(:default, :trilogy) end task :create_database => :setup do Rake::Task["mysql:create_database"].invoke end desc 'Build the MySQL test database' task :build_database => [:create_database] do Rake::Task["mysql:build_database"].invoke end desc 'Drop the MySQL test database' task :drop_database => :setup do Rake::Task["mysql:drop_database"].invoke end desc 'Rebuild the MySQL test database' task :rebuild_database => [:drop_database, :build_database] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
composite_primary_keys-14.0.9 | tasks/databases/trilogy.rake |
composite_primary_keys-14.0.8 | tasks/databases/trilogy.rake |
composite_primary_keys-14.0.7 | tasks/databases/trilogy.rake |