R
R
Roman Savitsky2017-08-23 14:37:50
Yii
Roman Savitsky, 2017-08-23 14:37:50

Yii2 multilingual behavior, store translation tables in another DB?

Good afternoon !
There is a behavior: https://github.com/OmgDef/yii2-multilingual-behavior
They write that you need to create a translation table, ok, but how to make this table lie in another database, otherwise I have more than 20 tables in the main database, not very convenient to work. translation tables with 10 current will
Thank you very much in advance !

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-08-23
@webinar

I have more than 20 tables in my main database

2 questions:
1:20 is it a lot?
2: what's the difference how many tables are in the database?
no, there is 1 table for all languages, and what difference does it make how many there will be? How and what does it affect. Exactly at midnight Babaiki comes and if there are more than 20 tables in the database beats you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question