mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
git-subtree-dir: community_server git-subtree-mainline: ff11f6efe35bba180260fe84077bcd94298895c1 git-subtree-split: b6544b9e69fb85d4da100934675323c3e8c8ef67
19 lines
666 B
SQL
19 lines
666 B
SQL
# Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
|
|
#
|
|
# Licensed under The MIT License
|
|
# For full copyright and license information, please see the LICENSE.txt
|
|
# Redistributions of files must retain the above copyright notice.
|
|
# MIT License (https://opensource.org/licenses/mit-license.php)
|
|
|
|
CREATE TABLE i18n (
|
|
id int NOT NULL auto_increment,
|
|
locale varchar(6) NOT NULL,
|
|
model varchar(255) NOT NULL,
|
|
foreign_key int(10) NOT NULL,
|
|
field varchar(255) NOT NULL,
|
|
content text,
|
|
PRIMARY KEY (id),
|
|
UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field),
|
|
INDEX I18N_FIELD(model, foreign_key, field)
|
|
);
|