diff --git a/CHANGELOG-5.0.md b/CHANGELOG-5.0.md index 31a68018fe..2803c8984b 100644 --- a/CHANGELOG-5.0.md +++ b/CHANGELOG-5.0.md @@ -18,8 +18,6 @@ ### Removed -# Changelog - ## [5.6.0](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (2024-01-09) ### Changed diff --git a/phalcon/Db/Adapter/Pdo/Postgresql.zep b/phalcon/Db/Adapter/Pdo/Postgresql.zep index 43566cc710..a3a371bc5d 100644 --- a/phalcon/Db/Adapter/Pdo/Postgresql.zep +++ b/phalcon/Db/Adapter/Pdo/Postgresql.zep @@ -501,7 +501,7 @@ class Postgresql extends PdoAdapter */ if field[9] !== null { let definition["default"] = preg_replace( - "/^'|'?::[[:alnum:][:space:]]+(\\[\\])?$/", + "/^'|'?::[[:alnum:][:space:]]+$/", "", field[9] );