Sha256: 4ebd738c23516dc2783c278bb49a99ae4613771f6126789a718ba91fe44ca3ab
Contents?: true
Size: 420 Bytes
Versions: 75
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
75 entries across 75 versions & 1 rubygems