Sha256: 9ddb44e336606686136949f4b3f5fb25b0c96abfc660f5fb78e6ed04165c550d

Contents?: true

Size: 181 Bytes

Versions: 7

Compression:

Stored size: 181 Bytes

Contents

class CreateTrafficLights < ActiveRecord::Migration
  def self.up
    create_table(:traffic_lights, force: true) do |t|
      t.string :state
      t.string :name
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
edge-state-machine-1.0.1 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-1.0.0 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-0.9.1 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-0.9.0 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-0.0.3 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-0.0.2 spec/active_record/migrations/create_traffic_lights.rb
edge-state-machine-0.0.1 spec/migrations/create_traffic_lights.rb