lib/apartment/adapters/postgresql_adapter.rb in ros-apartment-2.6.1 vs lib/apartment/adapters/postgresql_adapter.rb in ros-apartment-2.7.0
- old
+ new
@@ -28,9 +28,13 @@
super
reset
end
+ def default_tenant
+ @default_tenant = Apartment.default_tenant || 'public'
+ end
+
# Reset schema search path to the default schema_search_path
#
# @return {String} default schema search path
#
def reset