-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
The oneToOne relation not exist joinColumn method #50
Comments
It may be missing, yes. |
PR is more than welcome |
Have you planned to repair it? |
Not the answers I was expecting on "PR is more than welcome" ;) It will be fixed sometime, but currently don't have time for it. |
@saintho All associations have a Also, this is an open source effort. We'll gladly receive contributions and completely ignore "fix demands". Please be the former and not the latter ;-) |
Okay, I will commit PR in this weekend @guiwoda |
public function map(Fluent $builder){
$builder->entity()->setRepositoryClass(DiscussionDoctrineRepository::class);
$builder->table('my_discussion');
$builder->increments('id');
$builder->string('title');
$builder->string('content');
$builder->string('cover');
$builder->string('createTime');
$builder->string('startTime');
$builder->string('endTime');
$builder->string('status');
$builder->string('hot')->columnName('hot_score');
$builder->oneToOne(User::class, 'user')->joinColumn('uid', 'uid');
}
above joinColumn not exist joinColumn method, is bug?
The text was updated successfully, but these errors were encountered: