Skip to content

A platform for community discussion. Free, open, simple.

269 B
Raw Blame
# frozen_string_literal: true

class AllowNullIpSearchLog < ActiveRecord::Migration[5.1]
  def up
    Migration::SafeMigrate.disable!
    change_column :search_logs, :ip_address, :inet, null: true
  ensure
    Migration::SafeMigrate.enable!
  end

  def down
  end
end