Drop view and table
This commit is contained in:
parent
fa9a058cf8
commit
d215bf1e5b
@ -569,6 +569,7 @@ function init_db_schema() {
|
||||
// Recreate SQL views
|
||||
foreach ($views as $view => $create) {
|
||||
$pdo->query("DROP VIEW IF EXISTS `" . $view . "`;");
|
||||
$pdo->query("DROP TABLE IF EXISTS `" . $view . "`;");
|
||||
$pdo->query($create);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user