Sha256: 18a587c76b831356ba145d69ada248d44aa929a2dee5e74ff8645e8e008e3e44

Contents?: true

Size: 220 Bytes

Versions: 16

Compression:

Stored size: 220 Bytes

Contents

class CreateStateMachineModel < ActiveRecord::Migration

  def self.up
    create_table :state_machine_models do |t|
      t.string :state
    end
  end

  def self.down
    drop_table :state_machine_models
  end
  
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rspec_candy-0.3.1 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.3.0 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.10 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.9 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.8 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.7 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.6 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.5 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.4 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.3 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.2 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.1 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.2.0 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.1.2 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.1.1 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb
rspec_candy-0.1.0 spec/shared/app_root/db/migrate/002_create_state_machine_model.rb