comparison app/config/schema/sessions.php @ 0:261e66bd5a0c

hg init
author Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Jul 2011 21:08:31 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:261e66bd5a0c
1 <?php
2 /*Sessions schema generated on: 2007-11-25 07:11:54 : 1196004714*/
3 /**
4 * This is Sessions Schema file
5 *
6 * Use it to configure database for Sessions
7 *
8 * PHP versions 4 and 5
9 *
10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
11 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
12 *
13 * Licensed under The MIT License
14 * Redistributions of files must retain the above copyright notice.
15 *
16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
17 * @link http://cakephp.org CakePHP(tm) Project
18 * @package cake
19 * @subpackage cake.app.config.sql
20 * @since CakePHP(tm) v 0.2.9
21 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
22 */
23 /*
24 *
25 * Using the Schema command line utility
26 * cake schema run create Sessions
27 *
28 */
29 class SessionsSchema extends CakeSchema {
30
31 var $name = 'Sessions';
32
33 function before($event = array()) {
34 return true;
35 }
36
37 function after($event = array()) {
38 }
39
40 var $cake_sessions = array(
41 'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'),
42 'data' => array('type'=>'text', 'null' => true, 'default' => NULL),
43 'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL),
44 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
45 );
46
47 }