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 45
45
/**
46
46
* Sets if the exported SQL file will be imported into the current database connection
47
47
*/
48
- 'ImportSqlFile ' => env ('REMOTE_IMPORT_FILE ' , 'true ' ),
48
+ 'importSqlFile ' => env ('REMOTE_IMPORT_FILE ' , 'true ' ),
49
49
50
50
/**
51
51
* 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
29
29
$ password = config ('dbsync.password ' );
30
30
$ ignore = config ('dbsync.ignore ' );
31
31
$ ignoreTables = explode (', ' , $ ignore );
32
- $ ImportSqlFile = config ('dbdync.ImportSqlFile ' );
33
- $ removeFileAfterImport = config ('dbdync .removeFileAfterImport ' );
32
+ $ importSqlFile = config ('dbsync.importSqlFile ' );
33
+ $ removeFileAfterImport = config ('dbsync .removeFileAfterImport ' );
34
34
35
35
if (empty ($ host ) || empty ($ username ) || empty ($ database )) {
36
36
$ this ->error ("DB credentials not set, have you published the config and set ENV variables? " );
@@ -52,7 +52,7 @@ public function handle(): bool
52
52
53
53
$ this ->comment (implode (PHP_EOL , $ output ));
54
54
55
- if ($ ImportSqlFile === true ) {
55
+ if ($ importSqlFile === true ) {
56
56
DB ::unprepared (file_get_contents (base_path ('file.sql ' )));
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments