Sha256: ad9265ea2715e8e415e8c2f2ea657f45273ada7d7bc7a7afb913cea183fe179d
Contents?: true
Size: 643 Bytes
Versions: 5
Compression:
Stored size: 643 Bytes
Contents
namespace :strong_migrations do # https://www.pgrs.net/2008/03/12/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
5 entries across 5 versions & 1 rubygems