diff --git a/etc/schema/mysql/helper/functions.sql b/etc/schema/mysql/helper/functions.sql index e5c57d89..1b1bf790 100644 --- a/etc/schema/mysql/helper/functions.sql +++ b/etc/schema/mysql/helper/functions.sql @@ -4,4 +4,5 @@ DROP FUNCTION IF EXISTS unix_timestamp_ms; CREATE FUNCTION unix_timestamp_ms() RETURNS BIGINT UNSIGNED + NO SQL RETURN FLOOR((UNIX_TIMESTAMP(NOW(3)) * 1000));