Permalink
Browse files

* Switch to MyISAM for greater compatibility

  • Loading branch information...
smtlaissezfaire committed Jan 6, 2009
1 parent 8e214da commit 3bf6057f826ff2b3d651e85e29ef4504a6976e51
Showing with 2 additions and 2 deletions.
  1. +1 −1 generators/enhanced_query_analyzer/templates/migrate/create_query_log.rb
  2. +1 −1 spec/spec_helper.rb
@@ -1,6 +1,6 @@
class CreateQueryLog < ActiveRecord::Migration
def self.up
- create_table :query_logs, :options => 'ENGINE=Archive' do |t|
+ create_table :query_logs, :options => 'ENGINE=MyISAM' do |t|
t.text :query
t.float :query_time
t.text :explain
View
@@ -24,7 +24,7 @@ def setup_database_connection
t.timestamps
end
- create_table :query_logs, :force => true, :options => 'ENGINE=Archive' do |t|
+ create_table :query_logs, :force => true, :options => 'ENGINE=MyISAM' do |t|
t.text :query
t.float :query_time
t.text :explain

0 comments on commit 3bf6057

Please sign in to comment.