diff options
author | Andrey Andreev <narf@devilix.net> | 2019-01-25 14:23:28 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2019-01-25 14:23:28 +0100 |
commit | ce5e1a3cc639b1709c11580a6e6764d81e3fa56f (patch) | |
tree | d4656a3d1cb4e729b24c462fb1d735c3a69477aa /system/database/drivers/postgre | |
parent | 1a1269149c1a56032740782aa957f76477d0311a (diff) |
[ci skip] Fix #5681
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r-- | system/database/drivers/postgre/postgre_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_forge.php b/system/database/drivers/postgre/postgre_forge.php index 353ddac99..481e222b8 100644 --- a/system/database/drivers/postgre/postgre_forge.php +++ b/system/database/drivers/postgre/postgre_forge.php @@ -125,7 +125,7 @@ class CI_DB_postgre_forge extends CI_DB_forge { if ( ! empty($field[$i]['default'])) { $sqls[] = $sql.' ALTER COLUMN '.$this->db->escape_identifiers($field[$i]['name']) - .' SET DEFAULT '.$field[$i]['default']; + .' SET '.$field[$i]['default']; } if (isset($field[$i]['null'])) |