Commit 04a0ca5a by Carsten Brandt

revert accidental change in db ActiveRecord

parent e3df19d9
......@@ -268,7 +268,7 @@ class ActiveRecord extends Model
*/
public static function tableName()
{
return static::getTableSchema()->name;
return 'tbl_' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment