Sha256: ec5fbbc1bddcaa43c49e12774264bd19bf5ccd238689c605329e0e1784727c51
Contents?: true
Size: 643 Bytes
Versions: 14
Compression:
Stored size: 643 Bytes
Contents
namespace :strong_migrations do # https://www.pgrs.net/2008/03/13/alphabetize-schema-rb-columns/ task :alphabetize_columns do $stderr.puts "Dumping schema" ActiveRecord::Base.logger.level = Logger::INFO require "strong_migrations/alphabetize_columns" ActiveRecord::Base.connection.class.prepend StrongMigrations::AlphabetizeColumns if ActiveRecord::ConnectionAdapters.const_defined?('PostGISAdapter') ActiveRecord::ConnectionAdapters::PostGISAdapter.prepend StrongMigrations::AlphabetizeColumns end ActiveRecord::ConnectionAdapters::AbstractAdapter.prepend StrongMigrations::AlphabetizeColumns end end
Version data entries
14 entries across 14 versions & 1 rubygems