summaryrefslogtreecommitdiff
path: root/fai_gestion/config/schema/i18n.sql
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 00:09:33 +0200
commit4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8 (patch)
tree8869134f1c3b5f7c3841578fbcaa4ff9cee7e2bc /fai_gestion/config/schema/i18n.sql
parenta6104f47f7a0534664f8f3740f303f01e7e7399e (diff)
downloadchd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.zip
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.gz
chd_gestion-4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8.tar.bz2
Cake 3.6.7 fresh install
Diffstat (limited to 'fai_gestion/config/schema/i18n.sql')
-rw-r--r--fai_gestion/config/schema/i18n.sql18
1 files changed, 18 insertions, 0 deletions
diff --git a/fai_gestion/config/schema/i18n.sql b/fai_gestion/config/schema/i18n.sql
new file mode 100644
index 0000000..e59d1e6
--- /dev/null
+++ b/fai_gestion/config/schema/i18n.sql
@@ -0,0 +1,18 @@
+# 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)
+);