class RemoveSegments < ActiveRecord::Migration[4.2]
def self.up
have_segs = select_value("SELECT count(*) FROM current_segments").to_i.nonzero?
class RemoveSegments < ActiveRecord::Migration[4.2]
def self.up
have_segs = select_value("SELECT count(*) FROM current_segments").to_i.nonzero?