Sha256: a6803b9b53c26d80f2b5c8be4c93ee2825a05a5f9c806bbbf4b125eb29bcfb19

Contents?: true

Size: 257 Bytes

Versions: 6

Compression:

Stored size: 257 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :balloons, :force => true do |t|
    t.integer "id"
    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 & 1 rubygems

Version Path
activerecord_enum-0.2.0 spec/schema/enum_new.rb
activerecord_enum-0.1.1 spec/schema/enum_new.rb
activerecord_enum-0.1.0 spec/schema/enum_new.rb
activerecord_enum-0.0.3 spec/schema/enum_new.rb
activerecord_enum-0.0.2 spec/schema/enum_new.rb
activerecord_enum-0.0.1 spec/schema/enum_new.rb