Commit d484932c authored by Bernhard Schussek's avatar Bernhard Schussek

Merge branch 'feature/time-type' into 'master'

Changed LocalTimeType to TIME (6)

See merge request !2
parents 76551d0e 916728f8
......@@ -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