Sha256: e6caaafbcee795cbab1fdff96fdef73ab96143ad2e590383e094bd90876dcad8

Contents?: true

Size: 302 Bytes

Versions: 7

Compression:

Stored size: 302 Bytes

Contents

class CreateOptionConfigurations < ActiveRecord::Migration
  def up
    create_table :option_configurations, :force => true do |t|
      t.string :klass, :null => false
      t.references :option, :null => false
      t.timestamps
    end
  end

  def down
    drop_table :option_assignments
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
piggybak_variants-0.0.8 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.7 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.6 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.5 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.4 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.2 db/migrate/20121022205428_create_option_configurations.rb
piggybak_variants-0.0.1 db/migrate/20121022205428_create_option_configurations.rb