Sha256: 94978c120325251fbed34e49fe5c68481865708e5fe50f43430d562470c5aec2

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

class AddItemGroups < ActiveRecord::Migration[4.2]
  def change
    create_table :cavy_item_groups do |t|
      t.string  :title
      t.string  :params, array: true
    end
    change_table :cavy_items do |t|
      t.belongs_to :item_group
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cavy-0.1.0.beta2 db/migrate/20141116192552_add_item_groups.rb