Sha256: daf8c48e9d44a77af4c985ce0d47e4db0be90ae62c236371876c02875cc2c6d3

Contents?: true

Size: 260 Bytes

Versions: 79

Compression:

Stored size: 260 Bytes

Contents

class AddParentIdToPulitzerTag < ActiveRecord::Migration
  def change
    add_column :pulitzer_tags, :parent_id, :integer
    add_column :pulitzer_tags, :hierarchical, :boolean, null: false, default: false
    add_index :pulitzer_tags, :hierarchical
  end
end

Version data entries

79 entries across 77 versions & 1 rubygems

Version Path
pulitzer-0.5.6 spec/dummy/db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.6 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.5 spec/dummy/db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.5 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.4 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.3 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.2 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.1 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.5.0 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.16 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.15 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.14 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.13 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.12 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.11 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.10 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.9 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.8 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.4.7 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb