lib/sequel/database/dataset_defaults.rb in sequel-3.33.0 vs lib/sequel/database/dataset_defaults.rb in sequel-3.34.0
- old
+ new
@@ -86,9 +86,10 @@
# super
# end
# end
def extend_datasets(mod=nil, &block)
raise(Error, "must provide either mod or block, not both") if mod && block
+ reset_schema_utility_dataset
mod = Module.new(&block) if block
if @dataset_modules.empty?
@dataset_modules = [mod]
@dataset_class = Class.new(@dataset_class)
else