Skip to content

Commit 70e354f

Browse files
author
Edward Slavich
committed
Reader defines the method last_partitions_order_by_clause, change SqlAdapter to call the correct method name.
1 parent 9a3e028 commit 70e354f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/partitioned/partitioned_base/sql_adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def last_n_partition_names(how_many = 1)
9393
# Override this or order the tables from last (greatest value? greatest date?) to first.
9494
#
9595
def last_n_partitions_order_by_clause
96-
return configurator.last_n_partitions_order_by_clause
96+
return configurator.last_partitions_order_by_clause
9797
end
9898

9999
#

0 commit comments

Comments
 (0)