File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4545 /**
4646 * Sets if the exported SQL file will be imported into the current database connection
4747 */
48- 'ImportSqlFile ' => env ('REMOTE_IMPORT_FILE ' , 'true ' ),
48+ 'importSqlFile ' => env ('REMOTE_IMPORT_FILE ' , 'true ' ),
4949
5050 /**
5151 * Sets if the generated file.sql will be deleted after it has been imported.
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ public function handle(): bool
2929 $ password = config ('dbsync.password ' );
3030 $ ignore = config ('dbsync.ignore ' );
3131 $ ignoreTables = explode (', ' , $ ignore );
32- $ ImportSqlFile = config ('dbdync.ImportSqlFile ' );
33- $ removeFileAfterImport = config ('dbdync .removeFileAfterImport ' );
32+ $ importSqlFile = config ('dbsync.importSqlFile ' );
33+ $ removeFileAfterImport = config ('dbsync .removeFileAfterImport ' );
3434
3535 if (empty ($ host ) || empty ($ username ) || empty ($ database )) {
3636 $ this ->error ("DB credentials not set, have you published the config and set ENV variables? " );
@@ -52,7 +52,7 @@ public function handle(): bool
5252
5353 $ this ->comment (implode (PHP_EOL , $ output ));
5454
55- if ($ ImportSqlFile === true ) {
55+ if ($ importSqlFile === true ) {
5656 DB ::unprepared (file_get_contents (base_path ('file.sql ' )));
5757 }
5858
You can’t perform that action at this time.
0 commit comments