lib/tasks/octopus.rake in ar-octopus-0.8.3 vs lib/tasks/octopus.rake in ar-octopus-0.8.4
- old
+ new
@@ -1,8 +1,8 @@
namespace :octopus do
- desc "Copy schema version information from master to all shards"
+ desc 'Copy schema version information from master to all shards'
task :copy_schema_versions => :environment do
- abort("Octopus is not enabled for this environment") unless Octopus.enabled?
+ abort('Octopus is not enabled for this environment') unless Octopus.enabled?
connection = ActiveRecord::Base.connection
current_version = ActiveRecord::Migrator.current_version
migrations_paths = ActiveRecord::Migrator.migrations_paths