Welcome Guest, Not a member yet? Register   Sign In
Dbforge alter add column always create NOT NULL field
#2

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, -88) == "NOT NULL") {
 
   $sql substr_replace($sql'', -88);


Remove the last NOT NULL text in CodeIgniter-built query
Reply


Messages In This Thread
RE: Dbforge alter add column always create NOT NULL field - by madaweb - 07-05-2016, 01:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB