We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
user
user.account
user.profile
php yii gii/model --tableName=user.* --ns="app\modules\user\models" --baseClass="app\components\ActiveRecord"
Relation method/s like getUserAccount() or getAccount(), depends on what the gii will produce, functions to be used in with() and joinWith()
getUserAccount()
getAccount()
with()
joinWith()
No relations method created. Only rules() and attributeLabels() methods in model class are generated.
rules()
attributeLabels()
The text was updated successfully, but these errors were encountered:
Issue moved to yiisoft/yii2-gii#343
Sorry, something went wrong.
No branches or pull requests
What steps will reproduce the problem?
user
schemauser.account
user.profile
with foreign key touser.account
php yii gii/model --tableName=user.* --ns="app\modules\user\models" --baseClass="app\components\ActiveRecord"
What is the expected result?
Relation method/s like
getUserAccount()
orgetAccount()
, depends on what the gii will produce, functions to be used inwith()
andjoinWith()
What do you get instead?
No relations method created. Only
rules()
andattributeLabels()
methods in model class are generated.Additional info
The text was updated successfully, but these errors were encountered: