Sha256: f407d0858b34c527b9bddcfe65f55094c7ff8df32acd6453d0879f878331742b

Contents?: true

Size: 336 Bytes

Versions: 17

Compression:

Stored size: 336 Bytes

Contents

class CreateCustomFieldAnswers < ActiveRecord::Migration
  def change
    create_table :custom_field_answers do |t|
      t.belongs_to :product
      t.belongs_to :custom_field
      t.string    :value
      t.string    :text_value
      t.integer   :number_value
      t.datetime  :datetime_value

      t.timestamps
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.10 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.9 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.8 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.7 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.5 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.4.beta1 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.4 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.3 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.2 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.2.beta1 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc6 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc5 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc4 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc3 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc2 db/migrate/20111106195112_create_custom_field_answers.rb
nimbleshop_core-0.0.1.rc1 db/migrate/20111106195112_create_custom_field_answers.rb