Sha256: 9fe717a5c3c914d4d772a6672e724ba40a2fd8bfc6ed2d4f61c1f3927461a818

Contents?: true

Size: 369 Bytes

Versions: 6

Compression:

Stored size: 369 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :groups, :force => true do |t|
    t.string :policy
  end

  create_table :cars, :force => true do |t|
    t.string :color
  end
  
  %w(open closed closed secret).each { |policy| Group.create(:policy => policy) }
  
  %w(red green).each { |color| execute("INSERT INTO cars(color) VALUES('#{color}')") }
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
objectreload-simple_enumerations-0.1.6 spec/app_root/db/schema.rb
objectreload-simple_enumerations-0.1.5 spec/app_root/db/schema.rb
objectreload-simple_enumerations-0.1.4 spec/app_root/db/schema.rb
objectreload-simple_enumerations-0.1.3 spec/app_root/db/schema.rb
objectreload-simple_enumerations-0.1.2 spec/app_root/db/schema.rb
simple_enumerations-0.1.1 spec/app_root/db/schema.rb