File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/Illuminate/Database/Schema Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 22
33namespace Illuminate \Database \Schema ;
44
5+ use Illuminate \Database \QueryException ;
56use Illuminate \Support \Facades \File ;
67
78class SQLiteBuilder extends Builder
@@ -37,7 +38,13 @@ public function dropDatabaseIfExists($name)
3738 */
3839 public function getTables ()
3940 {
40- $ withSize = rescue (fn () => $ this ->connection ->scalar ($ this ->grammar ->compileDbstatExists ()), false , false );
41+ $ withSize = false ;
42+
43+ try {
44+ $ withSize = $ this ->connection ->scalar ($ this ->grammar ->compileDbstatExists ());
45+ } catch (QueryException $ e ) {
46+ //
47+ }
4148
4249 return $ this ->connection ->getPostProcessor ()->processTables (
4350 $ this ->connection ->selectFromWriteConnection ($ this ->grammar ->compileTables ($ withSize ))
You can’t perform that action at this time.
0 commit comments