Sha256: 768a7c811ef5bbf58e2d478a66aa3ff01c06ae32192070b73f6d440e127a1fee

Contents?: true

Size: 274 Bytes

Versions: 12

Compression:

Stored size: 274 Bytes

Contents

class CreateOptionValues < ActiveRecord::Migration
  def up
    create_table :option_values, :force => true do |t|
      t.integer :option_id
      t.string :name
      t.integer :position
      t.timestamps
    end
  end

  def down
    drop_table :option_values
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
piggybak_variants-0.1.3 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.1.2 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.1.1 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.1.0 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.17 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.15 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.14 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.13 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.12 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.11 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.10 db/migrate/20121016153016_create_option_values.rb
piggybak_variants-0.0.9 db/migrate/20121016153016_create_option_values.rb