Skip to content

Commit 6cd48b1

Browse files
committed
feat: add env
1 parent 0756c9c commit 6cd48b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config/sql-loader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
* Oracle database connection name.
66
* ------------------------------------------------------
77
*/
8-
'connection' => 'oracle',
8+
'connection' => env('SQL_LOADER_CONNECTION', 'oracle'),
99

1010
/* ------------------------------------------------------
1111
* SQL Loader binary path.
1212
* ------------------------------------------------------
1313
*/
14-
'sqlldr' => 'sqlldr',
14+
'sqlldr' => env('SQL_LOADER_PATH', '/usr/local/bin/sqlldr'),
1515

1616
/* ------------------------------------------------------
1717
* Disk storage to store control files.
1818
* ------------------------------------------------------
1919
*/
20-
'disk' => 'local',
20+
'disk' => env('SQL_LOADER_DISK', 'local'),
2121
];

0 commit comments

Comments
 (0)