Sha256: 43deae2a9272c17206a69749665a0edcd78b3e578eb4f928f9d2a2d53e86486d

Contents?: true

Size: 176 Bytes

Versions: 6

Compression:

Stored size: 176 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :aircraft, :force => true do |t|
    t.column "color", "enum('blue','red','yellow')", :default => 'red', :null => false
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

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