mirror of
https://github.com/strapi/strapi.git
synced 2025-11-14 17:19:01 +00:00
Merge branch 'master' of github.com:strapi/strapi into develop
This commit is contained in:
commit
080951496b
@ -412,6 +412,11 @@ const getType = ({ definition, attribute, name, tableExists = false }) => {
|
|||||||
case 'date':
|
case 'date':
|
||||||
case 'time':
|
case 'time':
|
||||||
case 'datetime':
|
case 'datetime':
|
||||||
|
if (client === 'pg') {
|
||||||
|
return 'timestamp with time zone';
|
||||||
|
}
|
||||||
|
|
||||||
|
return 'timestamp';
|
||||||
case 'timestamp':
|
case 'timestamp':
|
||||||
if (client === 'pg') {
|
if (client === 'pg') {
|
||||||
return 'timestamp with time zone';
|
return 'timestamp with time zone';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user