diff options
author | Andrey Andreev <narf@devilix.net> | 2019-02-14 17:58:01 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2019-02-14 17:58:01 +0100 |
commit | 02cd9a097ea63593d3439ed89ddbfb0a19a2a7bd (patch) | |
tree | f385b4b0ef710bf9696b5eb49c9b256a08d7dee3 /system/database/drivers/postgre | |
parent | 15eaca036d2b43df1a8c3e1d7db2c44ec3de4aaf (diff) | |
parent | a0744323430f78e869e61d5412dff927fc512878 (diff) |
Merge branch '3.1-stable' into develop
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'])) |