mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 04:44:04 +00:00
prefix random DB name with custom_
This commit is contained in:
parent
debde0a103
commit
8ff1e45fd0
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ test('path used by sqlite manager can be customized', function () {
|
||||||
})->toListener());
|
})->toListener());
|
||||||
|
|
||||||
// Set custom path for SQLite file
|
// Set custom path for SQLite file
|
||||||
SQLiteDatabaseManager::$path = $customPath = database_path(Str::random(8));
|
SQLiteDatabaseManager::$path = $customPath = database_path('custom_' . Str::random(8));
|
||||||
|
|
||||||
if (! is_dir($customPath)) {
|
if (! is_dir($customPath)) {
|
||||||
// Create custom directory
|
// Create custom directory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue