Код: Выделить всё
php yii message/migrate @common/config/messages/php.php @common/config/messages/db.php
All existing messages in the output source will be removed. Proceed? (yes|no) [no]:y
Language: uk
Category: backend
[=> ] 0% (1/128) ETA: 0 sec.Exception 'yii\db\IntegrityException' with message 'SQLSTATE[23503]: Foreign key violation: 7 ERROR: insert or update on table "i18n_message" violates foreign key constraint "fk_i18n_message_source_message"
DETAIL: Key (id)=(0) is not present in table "i18n_source_message".
The SQL being executed was: INSERT INTO "i18n_message" ("id", "language", "translation") VALUES (0, 'uk', 'Вы впевнені, що бажаете скинути цей кеш?')'
Error Info:
Array
(
[0] => 23503
[1] => 7
[2] => ERROR: insert or update on table "i18n_message" violates foreign key constraint "fk_i18n_message_source_message"
DETAIL: Key (id)=(0) is not present in table "i18n_source_message".
)