Commit d484932c authored by Bernhard Schussek's avatar Bernhard Schussek
Browse files

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 ...@@ -25,16 +25,14 @@ class LocalTimeType extends Type
use ValueObjectConversion; use ValueObjectConversion;
use GeneratedName; use GeneratedName;
private const FORMAT = 'Y-m-d H:i:s.u'; private const FORMAT = 'H:i:s';
private const FALLBACK_FORMAT = 'Y-m-d H:i:s';
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) 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