Skip to content
Snippets Groups Projects
Unverified Commit 4febf8be authored by Thomas Flori's avatar Thomas Flori
Browse files

update execution time column name in save execution statements

parent b340058e
No related branches found
No related tags found
No related merge requests found
......@@ -371,7 +371,7 @@ class Migrations
if (!$exists) {
$this->db->prepare("INSERT INTO {$table}
(file, executed, status, statements, executionTime) VALUES
(file, executed, status, statements, execution_time) VALUES
(?, ?, ?, ?, ?)
")->execute([
$migration->file,
......@@ -382,7 +382,7 @@ class Migrations
]);
} else {
$this->db->prepare("UPDATE {$table} SET
executed = ?, reverted = ?, status = ?, statements = ?, executionTime = ?
executed = ?, reverted = ?, status = ?, statements = ?, execution_time = ?
WHERE file = ?
")->execute([
$migration->executed->format('c'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment