Sha256: e5a02b3e00d12afb90abfe9e5ac2dcb7b52862f3e4da12fbb8f3a68cf85aa197

Contents?: true

Size: 230 Bytes

Versions: 65

Compression:

Stored size: 230 Bytes

Contents

class CheckoutStateMachine < ActiveRecord::Migration
  def self.up
    change_table :checkouts do |t|
      t.string :state
    end
  end

  def self.down
    change_table :checkouts do |t|
      t.remove :state
    end
  end
end

Version data entries

65 entries across 53 versions & 10 rubygems

Version Path
spree_core-0.60.2 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.70.0.rc2 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.70.RC1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.60.1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.60.0 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.60.0.RC1 db/migrate/20091126190904_checkout_state_machine.rb
spree_essential_press-0.1.0.pre3 test/dummy/db/migrate/20091126190904_checkout_state_machine.rb
spree_essential_press-0.1.0.pre2 test/dummy/db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.50.2 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.50.1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.50.0 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.40.3 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.40.2 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.40.1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.40.0 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.30.1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.30.0 db/migrate/20091126190904_checkout_state_machine.rb
spree-0.11.2 db/migrate/20091126190904_checkout_state_machine.rb
spree-0.11.1 db/migrate/20091126190904_checkout_state_machine.rb
spree_core-0.30.0.beta1 lib/generators/templates/db/migrate/20091126190904_checkout_state_machine.rb