@@ -64,8 +64,7 @@ discard block |
||
64 | 64 | ->select('version') |
65 | 65 | ->from('#__migrations') |
66 | 66 | )->loadColumn(); |
67 | - } |
|
68 | - catch (ExecutionFailureException | PrepareStatementFailureException $exception) |
|
67 | + } catch (ExecutionFailureException | PrepareStatementFailureException $exception) |
|
69 | 68 | { |
70 | 69 | // On PDO we're checking "42S02, 1146, Table 'XXX.#__migrations' doesn't exist" |
71 | 70 | if (strpos($exception->getMessage(), "migrations' doesn't exist") === false) |
@@ -132,8 +131,7 @@ discard block |
||
132 | 131 | ->select('version') |
133 | 132 | ->from('#__migrations') |
134 | 133 | )->loadColumn(); |
135 | - } |
|
136 | - catch (ExecutionFailureException | PrepareStatementFailureException $exception) |
|
134 | + } catch (ExecutionFailureException | PrepareStatementFailureException $exception) |
|
137 | 135 | { |
138 | 136 | // If the table does not exist, we can still try to run migrations |
139 | 137 | if (strpos($exception->getMessage(), "migrations' doesn't exist") === false) |