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.15.31 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.30 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.29 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.28 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.27 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.26 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.25 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.24 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.23 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.22 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.21 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.20 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.19 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.18 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.17 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.16 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.15 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.14 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.13 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.12 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb