Fix SQLiteBackupsJob to work with AR::Tenanted v0.5.0
ref: https://github.com/basecamp/activerecord-tenanted/pull/215
This commit is contained in:
@@ -92,7 +92,7 @@ class SQLiteBackupsJob < ApplicationJob
|
||||
end
|
||||
|
||||
def db_path(tenant)
|
||||
db_config.database_path
|
||||
db_config.config_adapter.database_path
|
||||
end
|
||||
|
||||
def db_config
|
||||
|
||||
Reference in New Issue
Block a user