Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Dbforge alter add column always create NOT NULL field
Post: RE: Dbforge alter add column always create NOT NUL...

Thanks for your return. I am newbie with CI so I didn't dare to step inside CI system codes!
7,808 Views
3 Replies
07-08-2016, 12:59 AM
madaweb
    Thread: Dbforge alter add column always create NOT NULL field
Post: RE: Dbforge alter add column always create NOT NUL...

I don't know if it is a bug but I add these lines when I call for add_column or _alter_table() now: PHP Code: -- if (substr($sql, -8, 8) == "NOT NULL") {    $sql = substr_replace($sql, '', -8, 8);...
7,808 Views
3 Replies
07-05-2016, 01:00 AM
madaweb
    Thread: Dbforge alter add column always create NOT NULL field
Post: Dbforge alter add column always create NOT NULL fi...

Hi! The query of ALTER TABLE ADD COLUMN is automatically concatened by NOT NULL in CodeIgniter working with PostgreSQL PHP Code: -- $this->dbforge = new CI_DB_postgre_forge; $sql = $this->dbfo...
7,808 Views
3 Replies
06-22-2016, 11:34 PM
madaweb

Theme © iAndrew 2016 - Forum software by © MyBB