1: <?php
 2: /* SVN FILE: $Id$ */
 3: /*Sessions schema generated on: 2007-11-25 07:11:54 : 1196004714*/
 4: /**
 5:  * This is Sessions Schema file
 6:  *
 7:  * Use it to configure database for Sessions
 8:  *
 9:  * PHP versions 4 and 5
10:  *
11:  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
12:  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
13:  *
14:  * Licensed under The MIT License
15:  * Redistributions of files must retain the above copyright notice.
16:  *
17:  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
18:  * @link          http://cakephp.org CakePHP(tm) Project
19:  * @package       cake
20:  * @subpackage    cake.app.config.sql
21:  * @since         CakePHP(tm) v 0.2.9
22:  * @version       $Revision$
23:  * @modifiedby    $LastChangedBy$
24:  * @lastmodified  $Date$
25:  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
26:  */
27: /*
28:  *
29:  * Using the Schema command line utility
30:  * cake schema run create Sessions
31:  *
32:  */
33: class SessionsSchema extends CakeSchema {
34: 
35:     var $name = 'Sessions';
36: 
37:     function before($event = array()) {
38:         return true;
39:     }
40: 
41:     function after($event = array()) {
42:     }
43: 
44:     var $cake_sessions = array(
45:             'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'),
46:             'data' => array('type'=>'text', 'null' => true, 'default' => NULL),
47:             'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL),
48:             'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
49:         );
50: 
51: }
52: ?>