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

Project table prefix not taken into account #20

Closed
julien101 opened this issue May 19, 2015 · 1 comment
Closed

Project table prefix not taken into account #20

julien101 opened this issue May 19, 2015 · 1 comment

Comments

@julien101
Copy link

Following the basic installation process, my attachments table does not contain the project prefix specified in my main.php:
'tablePrefix' => 'abc_',
The fix is probably simple:

  1. Modify File.php:
    public static function tableName()
    {
    return '{{%attach_file}}';
    }
  2. Fix m150127_040544_add_attachments up() and down() to support tablePrefix
@CTOlet
Copy link
Owner

CTOlet commented Jun 19, 2015

On my project according to the my architecture it must be without table prefix. If you need the table prefix you can fork and do that by yourself

@CTOlet CTOlet closed this as completed Jun 19, 2015
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