diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-05-22 15:26:21 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-05-22 15:26:21 +0300 |
commit | f0cfb3ec646b14cc754b057c6e29401b80a9e1d2 (patch) | |
tree | bf2eb5309434ffb70f360afa916ec9e2b94f448a /src/traits | |
parent | d56cbd7931556e250a4d9cd5c3a513456cf59bbb (diff) |
inspecting column dodoes no longer pass the query in the url
Diffstat (limited to 'src/traits')
-rw-r--r-- | src/traits/ViewTrait.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/traits/ViewTrait.php b/src/traits/ViewTrait.php index 40ff4ab2..c60ced39 100644 --- a/src/traits/ViewTrait.php +++ b/src/traits/ViewTrait.php @@ -267,6 +267,7 @@ trait ViewTrait */ public function alterViewName($vwrs, $name) { + $type = 'VIEW'; if ($vwrs->fields['relkind'] === 'm') { $type = 'MATERIALIZED VIEW'; @@ -328,6 +329,7 @@ trait ViewTrait */ public function dropView($viewname, $cascade) { + $vwrs = $this->getView($viewname); $type = 'VIEW'; if ($vwrs->fields['relkind'] === 'm') { $type = 'MATERIALIZED VIEW'; |