Sha256: 9ad1c88086b6c85945b08d53fd03c72d5e45432153625f881d60eea7116d3cd9
Contents?: true
Size: 420 Bytes
Versions: 120
Compression:
Stored size: 420 Bytes
Contents
<% @path = "#{RUBBER_ROOT}/config/initializers/mysql_cluster_migrations.rb" %> # mysql adapter in rails hardcodes engine to be innodb, so if we want all # rails tables to be clustered, we need to override this behavior # class ActiveRecord::ConnectionAdapters::MysqlAdapter def create_table(table_name, options = {}) #:nodoc: super(table_name, options.reverse_merge(:options => "ENGINE=ndbcluster")) end end
Version data entries
120 entries across 80 versions & 7 rubygems