aboutsummaryrefslogblamecommitdiffstats
path: root/db/migrate/20130611193536_create_search_page.refinery_search.rb
blob: d8c9509ff7fd9090b978d8e7772428d5267c2c14 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                       
# This migration comes from refinery_search (originally 1)
class CreateSearchPage < ActiveRecord::Migration

  def up
  end

  def down
    if defined?(Refinery::UserPlugin)
      Refinery::UserPlugin.destroy_all({:name => "refinerycms_search"})
    end

    if defined?(Refinery::Page)
      Refinery::Page.delete_all({:link_url => "/search"})
    end
  end

end