lib/pg_partition_manager.rb
# Return the begin and end dates for the next partition range
Return the begin and end dates for the next partition range
Return the begin and end dates for the next partition range
def period_end(start)
      case @partition[:period]
      when "month"
        start >> 1
      when "week"
        start + 7
      when "day"
        start + 1
      end
    end
def period_end ( start ) case @partition [ :period ] when "month" start >> 1 when "week" start + 7 when "day" start + 1 end end
Return the begin and end dates for the next partition range
Return the begin and end dates for the next partition range
start
<not_specific>