mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-19 16:01:57 +08:00
revert accidental change in db ActiveRecord
This commit is contained in:
@@ -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()), '_');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user