mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +00:00
fix(datetime): add datetime
and timestamp
detection
This commit is contained in:
parent
34aef5bbc6
commit
6bbc5c8993
@ -172,6 +172,8 @@ module.exports = {
|
|||||||
type = 'Float';
|
type = 'Float';
|
||||||
break;
|
break;
|
||||||
case 'date':
|
case 'date':
|
||||||
|
case 'datetime':
|
||||||
|
case 'timestamp':
|
||||||
type = 'DateTime';
|
type = 'DateTime';
|
||||||
break;
|
break;
|
||||||
case 'enumeration':
|
case 'enumeration':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user