mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +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 'time':
|
||||
case 'datetime':
|
||||
if (client === 'pg') {
|
||||
return 'timestamp with time zone';
|
||||
}
|
||||
|
||||
return 'timestamp';
|
||||
case 'timestamp':
|
||||
if (client === 'pg') {
|
||||
return 'timestamp with time zone';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user