Retain datetime precision during downgrade operation
to prevent duplicate keys in pdpstatistics
Issue-ID: POLICY-3679
Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37
Signed-off-by: ktimoney <kevin.timoney@est.tech>
* ============LICENSE_END=========================================================
*/
-ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime NOT NULL;
+ALTER TABLE pdpstatistics MODIFY COLUMN timeStamp datetime(6) NOT NULL;
* ============LICENSE_END=========================================================
*/
-ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN timeStamp datetime DEFAULT NULL NULL AFTER UPTIME;
+ALTER TABLE jpapdpstatistics_enginestats ADD COLUMN timeStamp datetime(6) DEFAULT NULL NULL AFTER UPTIME;