Sha256: bbc0e72bbf4ee5796a55c2d0042af5aa60b392145964acad512bf469ca209768

Contents?: true

Size: 372 Bytes

Versions: 12

Compression:

Stored size: 372 Bytes

Contents

class AddAncestryToSpinaPages < ActiveRecord::Migration
  def change
    add_column :spina_pages, :ancestry, :string
    add_column :spina_pages, :position, :integer
    remove_column :spina_pages, :parent_id, :integer
    remove_column :spina_pages, :depth, :integer
    remove_column :spina_pages, :rgt, :integer
    remove_column :spina_pages, :lft, :integer
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spina-0.6.22 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.21 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.20 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.19 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.18 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.17 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.16 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.15 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.14 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.13 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.12 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb
spina-0.6.11 db/migrate/20130725111749_add_ancestry_to_spina_pages.rb