Newer
Older
dmpopidor / db / migrate / 20180813114628_drop_table_splash_logs.rb
@Bodacious Bodacious on 13 Aug 2018 331 bytes Remove redundant database tables and columns
class DropTableSplashLogs < ActiveRecord::Migration
  def up
    drop_table(:splash_logs) if table_exists?(:splash_logs)
  end

  def down
    create_table "splash_logs", force: :cascade do |t|
      t.string   "destination"
      t.datetime "created_at",  null: false
      t.datetime "updated_at",  null: false
    end
  end
end