Commit 916728f8 authored by Niklas de Vries's avatar Niklas de Vries

Changed LocalTimeType to TIME (6)

parent 76551d0e
......@@ -25,16 +25,14 @@ class LocalTimeType extends Type
use ValueObjectConversion;
use GeneratedName;
private const FORMAT = 'Y-m-d H:i:s.u';
private const FALLBACK_FORMAT = 'Y-m-d H:i:s';
private const FORMAT = 'H:i:s';
/**
* {@inheritdoc}
*/
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{
return 'TIMESTAMP (6)';
return 'TIME (6)';
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment