revert accidental change in db ActiveRecord

This commit is contained in:
Carsten Brandt
2013-08-26 19:49:39 +02:00
parent e3df19d984
commit 04a0ca5aab

View File

@@ -268,7 +268,7 @@ class ActiveRecord extends Model
*/ */
public static function tableName() public static function tableName()
{ {
return static::getTableSchema()->name; return 'tbl_' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_');
} }
/** /**