diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 00:09:33 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 00:09:33 +0200 |
commit | 4a3ec0ca3f7d0ca8776a6ee7f2a2615234395eb8 (patch) | |
tree | 8869134f1c3b5f7c3841578fbcaa4ff9cee7e2bc /fai_gestion/config/schema/sessions.sql | |
parent | a6104f47f7a0534664f8f3740f303f01e7e7399e (diff) | |
download | chd_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/sessions.sql')
-rw-r--r-- | fai_gestion/config/schema/sessions.sql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fai_gestion/config/schema/sessions.sql b/fai_gestion/config/schema/sessions.sql new file mode 100644 index 0000000..1aa0a0f --- /dev/null +++ b/fai_gestion/config/schema/sessions.sql @@ -0,0 +1,15 @@ +# 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 `sessions` ( + `id` char(40) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, + `created` datetime DEFAULT CURRENT_TIMESTAMP, -- optional, requires MySQL 5.6.5+ + `modified` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- optional, requires MySQL 5.6.5+ + `data` blob DEFAULT NULL, -- for PostgreSQL use bytea instead of blob + `expires` int(10) unsigned DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; |