Created
November 19, 2020 14:50
-
-
Save tarlepp/1fac81e9db04747452cdf88fe4ec661b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function setUp(): void | |
{ | |
$this->platform = new MySqlPlatform(); | |
Type::hasType('datetime') | |
? Type::overrideType('datetime', UTCDateTimeType::class) | |
: Type::addType('datetime', UTCDateTimeType::class); | |
$this->type = Type::getType('datetime'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment