mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Global DOCS update: ~~~ replaced with ```
This commit is contained in:
@ -21,7 +21,7 @@ use yii\db\Query;
|
||||
*
|
||||
* The database must contain the following two tables:
|
||||
*
|
||||
* ~~~
|
||||
* ```sql
|
||||
* CREATE TABLE source_message (
|
||||
* id INTEGER PRIMARY KEY AUTO_INCREMENT,
|
||||
* category VARCHAR(32),
|
||||
@ -36,7 +36,7 @@ use yii\db\Query;
|
||||
* CONSTRAINT fk_message_source_message FOREIGN KEY (id)
|
||||
* REFERENCES source_message (id) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
* );
|
||||
* ~~~
|
||||
* ```
|
||||
*
|
||||
* The `source_message` table stores the messages to be translated, and the `message` table stores
|
||||
* the translated messages. The name of these two tables can be customized by setting [[sourceMessageTable]]
|
||||
|
Reference in New Issue
Block a user