Change assignments without losing dataCreated 5 years ago by pooria
After long days of investigating Pyrocms It's become really a friend to me and now I understand its magic. But one of pyrocms's problems is that users module is not translatable by default. How can I make this module translatable? Should I create a new translation table manually?
I tried this:
$stream = $this->streams()->findBySlugAndNamespace('users', 'users'); $stream->setAttribute('translatable', true) ->save();
But I get this error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'facpyro.default_users_users_translations' doesn't exist (SQL: select * from `default_users_users_translations` where `default_users_users_translations`.`entry_id` = 1 and `default_users_users_translations`.`entry_id` is not null)