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

Set different tables names #162

Open
gabi85ro opened this issue Nov 19, 2019 · 1 comment
Open

Set different tables names #162

gabi85ro opened this issue Nov 19, 2019 · 1 comment

Comments

@gabi85ro
Copy link

gabi85ro commented Nov 19, 2019

Would it be possible to add a config option in config/translator.php to use different names for the database tables used?
Like:
'translations_table' => env('TRANSLATOR_TRANSLATION_TABLE', 'translator_translations'),
'languages_table' => env('TRANSLATOR_LANGUAGES_TABLE', 'translator_languages'),
and set the table attribute in their respective models
Or maybe an easier way to extend the Language and Translation Repository and table models

@tanvir-retailai
Copy link

This could be a nice feature. I can able to set the table name as PascalCase.

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