Skip to content

Commit 340b419

Browse files
components map: add missed datetime to timestampTypes.
1 parent d979e00 commit 340b419

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/app/consts/field-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { CodeRowComponent } from '../components/ui-components/row-fields/code/co
1919
import { ImageRowComponent } from '../components/ui-components/row-fields/image/image.component';
2020
import { UrlRowComponent } from '../components/ui-components/row-fields/url/url.component';
2121

22-
export const timestampTypes = ['timestamp without time zone', 'timestamp with time zone', 'timestamp', 'date', 'time without time zone', 'time with time zone' , 'time'];
22+
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'];
2323
export const defaultTimestampValues = {
2424
postgres: ['current_date', 'current_time', 'current_timestamp', 'localtime', 'localtimestamp', 'now'],
2525
mysql: ['curdate', 'curtime', 'now'],

0 commit comments

Comments
 (0)