Sha256: 52fa3a2bc559a682fb980aac663064848d39a2208185d31ca17f420a3464d09f

Contents?: true

Size: 948 Bytes

Versions: 3

Compression:

Stored size: 948 Bytes

Contents

#--
# WebROaR - Ruby Application Server - http://webroar.in/
# Copyright (C) 2009  Goonj LLC
#
# This file is part of WebROaR.
#
# WebROaR is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# WebROaR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
#++

class DropTmpExceptions < ActiveRecord::Migration
  def self.up
    drop_table :tmp_exceptions if ActiveRecord::Base.connection.tables.include?("tmp_exceptions")
  end

  def self.down
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/db/migrate/20100909073546_drop_tmp_exceptions.rb
webroar-0.6.1 src/admin_panel/db/migrate/20100909073546_drop_tmp_exceptions.rb
webroar-0.5.0 src/admin_panel/db/migrate/20100909073546_drop_tmp_exceptions.rb