Sha256: f1774c9c3b1d0f842ce714bc84d2d72180486e35e2ed43fd6edfb94d60b12de8

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :balloons, :force => true do |t|
    t.enum "color", :limit => ['red', 'gold'], :default => 'gold', :null => false
    t.column "size", :enum, :limit => ['small', 'medium', 'large']
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
native_enum-2.0.0 spec/schema/enum_new.rb
activerecord_enum-0.4.1 spec/schema/enum_new.rb
native_enum-1.0.0 spec/schema/enum_new.rb
native_enum-1.0.0pre1 spec/schema/enum_new.rb
activerecord_enum-0.4.0 spec/schema/enum_new.rb
activerecord_enum-0.3.0 spec/schema/enum_new.rb