Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Mvc/Model/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
use function sprintf;
use function stripslashes;
use function strtolower;
use function time;

use const DIRECTORY_SEPARATOR;

Expand Down Expand Up @@ -812,7 +813,9 @@ static function ($value) {
if (null === $value || $value === 'NULL') {
return 'NULL';
}

if ($value == 'time()') {
return time();
}
return self::$connection->escapeString(stripslashes($value));
},
$line
Expand Down