00001 <?php 00002 /* SVN FILE: $Id: sessions.php 7805 2008-10-30 17:30:26Z AD7six $ */ 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. (http://www.cakefoundation.org) 00013 * 00014 * Licensed under The MIT License 00015 * Redistributions of files must retain the above copyright notice. 00016 * 00017 * @filesource 00018 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 00019 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 00020 * @package cake 00021 * @subpackage cake.app.config.sql 00022 * @since CakePHP(tm) v 0.2.9 00023 * @version $Revision: 7805 $ 00024 * @modifiedby $LastChangedBy: AD7six $ 00025 * @lastmodified $Date: 2008-10-30 13:30:26 -0400 (Thu, 30 Oct 2008) $ 00026 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 00027 */ 00028 /* 00029 * 00030 * Using the Schema command line utility 00031 * cake schema run create Sessions 00032 * 00033 */ 00034 class SessionsSchema extends CakeSchema { 00035 00036 var $name = 'Sessions'; 00037 00038 function before($event = array()) { 00039 return true; 00040 } 00041 00042 function after($event = array()) { 00043 } 00044 00045 var $cake_sessions = array( 00046 'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'), 00047 'data' => array('type'=>'text', 'null' => true, 'default' => NULL), 00048 'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL), 00049 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) 00050 ); 00051 00052 } 00053 ?>
1.4.7