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