diff --git a/models/AuthAssignment.php b/models/AuthAssignment.php index 33af94b..1d1a0fc 100644 --- a/models/AuthAssignment.php +++ b/models/AuthAssignment.php @@ -19,7 +19,7 @@ class AuthAssignment extends \yii\db\ActiveRecord */ public static function tableName() { - return 'auth_assignment'; + return '{{%auth_assignment}}'; } /** diff --git a/models/AuthItem.php b/models/AuthItem.php index 435d675..9c74f0f 100644 --- a/models/AuthItem.php +++ b/models/AuthItem.php @@ -26,7 +26,7 @@ class AuthItem extends \yii\db\ActiveRecord */ public static function tableName() { - return 'auth_item'; + return '{{%auth_item}}'; } /** diff --git a/models/AuthItemChild.php b/models/AuthItemChild.php index abb4552..d490971 100644 --- a/models/AuthItemChild.php +++ b/models/AuthItemChild.php @@ -20,7 +20,7 @@ class AuthItemChild extends \yii\db\ActiveRecord */ public static function tableName() { - return 'auth_item_child'; + return '{{$auth_item_child}}'; } /** diff --git a/models/AuthRule.php b/models/AuthRule.php index e02b0c7..2fce5e4 100644 --- a/models/AuthRule.php +++ b/models/AuthRule.php @@ -20,7 +20,7 @@ class AuthRule extends ActiveRecord */ public static function tableName() { - return 'auth_rule'; + return '{{%auth_rule}}'; } /** diff --git a/models/UserEmailConfirmToken.php b/models/UserEmailConfirmToken.php index c5f976a..bdbabfd 100644 --- a/models/UserEmailConfirmToken.php +++ b/models/UserEmailConfirmToken.php @@ -25,7 +25,7 @@ class UserEmailConfirmToken extends \yii\db\ActiveRecord */ public static function tableName() { - return 'user_email_confirm_token'; + return '{{%user_email_confirm_token}}'; } /** diff --git a/models/UserOauthKey.php b/models/UserOauthKey.php index da39060..e659b31 100644 --- a/models/UserOauthKey.php +++ b/models/UserOauthKey.php @@ -21,7 +21,7 @@ class UserOauthKey extends \yii\db\ActiveRecord */ public static function tableName() { - return 'user_oauth_key'; + return '{{%user_oauth_key}}'; } /** diff --git a/models/UserPasswordResetToken.php b/models/UserPasswordResetToken.php index 157f89d..2fece5a 100644 --- a/models/UserPasswordResetToken.php +++ b/models/UserPasswordResetToken.php @@ -20,7 +20,7 @@ class UserPasswordResetToken extends \yii\db\ActiveRecord */ public static function tableName() { - return 'user_password_reset_token'; + return '{{%user_password_reset_token}}'; } /**