Closed swearl closed 6 years ago
Hello @swearl . Could you try to change the MY_Model.php line 1922 from:
$this->table = $this->_get_table_name(get_class($this));
to
$this->table = dbprefix($this->_get_table_name(get_class($this)));
and tell me if this solves the problem?
what is the dbprefix function?
Isn't it a CodeIgniter function? https://codeigniter.com/user_guide/database/query_builder.html?highlight=dbprefix#CI_DB_query_builder::dbprefix
Did you try it?
i see, it means
$this->table = $this->_database->dbprefix($this->_get_table_name(get_class($this)));
thanks, seems work fine.
Could you do a pull request for this?
CI 3.1.8 dbprefix is set to "my_"
$this->soft_deletes = true;
i use get function, error appear.
the table of deleted_at didn't add the dbprefix.