Merge branch 'master' of github.com:strapi/strapi into develop

This commit is contained in:
Alexandre Bodin 2019-09-30 10:26:34 +02:00
commit 080951496b

View File

@ -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';