class AddParentToPage < ActiveRecord::Migration
  def change
    add_column :pages, :parent_id, :integer
    add_index :parent_id
  end
end

class AddParentToPage < ActiveRecord::Migration
  def change
    add_column :pages, :parent_id, :integer
    add_index :pages, :parent_id
  end
end

Fix syntax error in pages migration
Fix syntax error in pages migration
