13 lines
340 B
SQL
13 lines
340 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `hedera`.`messageL10n`
|
|
AS SELECT `m`.`code` AS `code`,
|
|
IFNULL(`mi`.`description`, `m`.`description`) AS `description`
|
|
FROM (
|
|
`hedera`.`message` `m`
|
|
LEFT JOIN `hedera`.`messageI18n` `mi` ON(
|
|
`mi`.`code` = `m`.`code`
|
|
AND `mi`.`lang` = `util`.`LANG`()
|
|
)
|
|
)
|