From 340b41999ddc48553b3c7691d806cbbf8a14c26a Mon Sep 17 00:00:00 2001 From: Lyubov Voloshko Date: Sat, 24 May 2025 17:07:05 +0300 Subject: [PATCH] components map: add missed datetime to timestampTypes. --- frontend/src/app/consts/field-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/consts/field-types.ts b/frontend/src/app/consts/field-types.ts index 18de22e78..4262b1179 100644 --- a/frontend/src/app/consts/field-types.ts +++ b/frontend/src/app/consts/field-types.ts @@ -19,7 +19,7 @@ import { CodeRowComponent } from '../components/ui-components/row-fields/code/co import { ImageRowComponent } from '../components/ui-components/row-fields/image/image.component'; import { UrlRowComponent } from '../components/ui-components/row-fields/url/url.component'; -export const timestampTypes = ['timestamp without time zone', 'timestamp with time zone', 'timestamp', 'date', 'time without time zone', 'time with time zone' , 'time']; +export const timestampTypes = ['timestamp without time zone', 'timestamp with time zone', 'timestamp', 'date', 'time without time zone', 'time with time zone' , 'time', 'datetime', 'date time', 'datetime2', 'datetimeoffset', 'curdate', 'curtime', 'now', 'localtime', 'localtimestamp']; export const defaultTimestampValues = { postgres: ['current_date', 'current_time', 'current_timestamp', 'localtime', 'localtimestamp', 'now'], mysql: ['curdate', 'curtime', 'now'],