sessions.php
Go to the documentation of this file.00001 <?php 00002 /* SVN FILE: $Id: app_2config_2sql_2sessions_8php-source.html 580 2008-07-01 14:45:49Z gwoo $ */ 00003 /*Sessions schema generated on: 2007-11-25 07:11:54 : 1196004714*/ 00004 /** 00005 * This is Sessions Schema file 00006 * 00007 * Use it to configure database for Sessions 00008 * 00009 * PHP versions 4 and 5 00010 * 00011 * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> 00012 * Copyright 2005-2008, Cake Software Foundation, Inc. 00013 * 1785 E. Sahara Avenue, Suite 490-204 00014 * Las Vegas, Nevada 89104 00015 * 00016 * Licensed under The MIT License 00017 * Redistributions of files must retain the above copyright notice. 00018 * 00019 * @filesource 00020 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. 00021 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 00022 * @package cake 00023 * @subpackage cake.app.config.sql 00024 * @since CakePHP(tm) v 0.2.9 00025 * @version $Revision: 580 $ 00026 * @modifiedby $LastChangedBy: gwoo $ 00027 * @lastmodified $Date: 2008-07-01 09:45:49 -0500 (Tue, 01 Jul 2008) $ 00028 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 00029 */ 00030 /* 00031 * 00032 * Using the Schema command line utility 00033 * cake schema run create Sessions 00034 * 00035 */ 00036 class SessionsSchema extends CakeSchema { 00037 00038 var $name = 'Sessions'; 00039 00040 function before($event = array()) { 00041 return true; 00042 } 00043 00044 function after($event = array()) { 00045 } 00046 00047 var $cake_sessions = array( 00048 'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'), 00049 'data' => array('type'=>'text', 'null' => true, 'default' => NULL), 00050 'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL), 00051 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) 00052 ); 00053 00054 } 00055 ?>