Sha256: a1c1230a7d0a4047b3823658b2a08bb1a8de8a2836e2e44008de3f2040ef5a5d

Contents?: true

Size: 217 Bytes

Versions: 5

Compression:

Stored size: 217 Bytes

Contents

class GovernorAddThinkingSphinx < ActiveRecord::Migration
  def self.up
    add_column :articles, :delta, :boolean, :default => true, :null => false
  end

  def self.down
    remove_column :articles, :delta
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
governor_thinking_sphinx-0.1.4 spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb
governor_thinking_sphinx-0.1.3 spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb
governor_thinking_sphinx-0.1.2 spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb
governor_thinking_sphinx-0.1.1 spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb
governor_thinking_sphinx-0.1.0 spec/rails_app/db/migrate/20110411050445_governor_add_thinking_sphinx.rb