Sha256: 06115e38780e74a159c72dd9077d94eebdceca80255655aa815ef285e6da1f00

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

class CreateAttributeMappings < ActiveRecord::Migration
  def change
    create_table :attribute_mappings do |t|
      t.string :label
      t.string :value
      t.string :attribute_name, null: false
      t.string :namespace,      null: false
      t.string :default       # ?
      t.integer :mapped_value # ?
      t.float   :fill_rate    # ?
      t.string  :status       # ?
      t.timestamps

      t.index [:namespace, :attribute_name, :value], name: 'index_attribute_mappings'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axle_attributes-1.13.2 db/migrate/20131121013237_create_attribute_mappings.rb