Skip to content

Commit

Permalink
Merge pull request #1 from besnovatyj/master
Browse files Browse the repository at this point in the history
Added braces to the names of the tables in several models
  • Loading branch information
krivochenko committed Feb 24, 2016
2 parents 34c90cf + eda98bb commit 0c4aff2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion models/AuthAssignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AuthAssignment extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'auth_assignment';
return '{{%auth_assignment}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/AuthItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AuthItem extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'auth_item';
return '{{%auth_item}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/AuthItemChild.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AuthItemChild extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'auth_item_child';
return '{{$auth_item_child}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/AuthRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AuthRule extends ActiveRecord
*/
public static function tableName()
{
return 'auth_rule';
return '{{%auth_rule}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/UserEmailConfirmToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class UserEmailConfirmToken extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'user_email_confirm_token';
return '{{%user_email_confirm_token}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/UserOauthKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class UserOauthKey extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'user_oauth_key';
return '{{%user_oauth_key}}';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion models/UserPasswordResetToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UserPasswordResetToken extends \yii\db\ActiveRecord
*/
public static function tableName()
{
return 'user_password_reset_token';
return '{{%user_password_reset_token}}';
}

/**
Expand Down

0 comments on commit 0c4aff2

Please sign in to comment.