Sha256: 6daeefa22a00f9ac810ee0f36db36ea4573d51e9951aa377c13cebd6200e402f
Contents?: true
Size: 382 Bytes
Versions: 6
Compression:
Stored size: 382 Bytes
Contents
class CreateTaxonomyItems < ActiveRecord::Migration def change create_table :taxonomy_items do |t| t.string :name, null: false t.integer :parent_id t.integer :depth t.string :category t.string :taxonomy_code t.string :sub_category t.string :definition t.string :notes end add_index :taxonomy_items, :parent_id end end
Version data entries
6 entries across 6 versions & 1 rubygems