Skip to content
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

DB prefix in addForeignKey #7

Closed
loveorigami opened this issue Dec 3, 2014 · 1 comment
Closed

DB prefix in addForeignKey #7

loveorigami opened this issue Dec 3, 2014 · 1 comment

Comments

@loveorigami
Copy link

Then I use table with prefix (tbl),
I get genereted ForeignKey with mistake

$this->addForeignKey(
'fk_tbl_article_tbl_article_lang', 
'{{%tbl_article_lang}}', 'article_id', 
'{{%tbl_article}}', 'id', 
'CASCADE', 'DELETE' 
);
 // need {{%article}} and {{%article_lang}}
@c006
Copy link
Owner

c006 commented Dec 13, 2014

Hi.

Can you post the entire output please or message me if you don't want it public.

Thank you.

@c006 c006 closed this as completed Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants