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.11 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.10 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.9 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.8 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.7 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.6 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.5 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.4 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.3 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.2 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.1 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.15.0 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.14.4 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.14.3 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.14.2 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.14.1 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.14.0 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.13.1 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.12.5 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb
pulitzer-0.13.0 db/migrate/20160511201527_add_parent_id_to_pulitzer_tag.rb