File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function compileDropAllIndexes(): string
13
13
return "SELECT 'DROP INDEX IF EXISTS \"' || name || ' \";' FROM sqlite_schema WHERE type = 'index' AND name NOT LIKE 'sqlite_%' " ;
14
14
}
15
15
16
- public function compileDropAllTables (): string
16
+ public function compileDropAllTables (string | null $ schema = null ): string
17
17
{
18
18
return "SELECT 'DROP TABLE IF EXISTS \"' || name || ' \";' FROM sqlite_schema WHERE type = 'table' AND name NOT LIKE 'sqlite_%' " ;
19
19
}
@@ -23,7 +23,7 @@ public function compileDropAllTriggers(): string
23
23
return "SELECT 'DROP TRIGGER IF EXISTS \"' || name || ' \";' FROM sqlite_schema WHERE type = 'trigger' AND name NOT LIKE 'sqlite_%' " ;
24
24
}
25
25
26
- public function compileDropAllViews (): string
26
+ public function compileDropAllViews (string | null $ schema = null ): string
27
27
{
28
28
return "SELECT 'DROP VIEW IF EXISTS \"' || name || ' \";' FROM sqlite_schema WHERE type = 'view' " ;
29
29
}
You can’t perform that action at this time.
0 commit comments