mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			523 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			523 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
/**
 | 
						|
 * Database schema required by \yii\caching\DbCache.
 | 
						|
 *
 | 
						|
 * @author Qiang Xue <qiang.xue@gmail.com>
 | 
						|
 * @author Misbahul D Munir <misbahuldmunir@gmail.com>
 | 
						|
 * @link https://www.yiiframework.com/
 | 
						|
 * @copyright 2008 Yii Software LLC
 | 
						|
 * @license https://www.yiiframework.com/license/
 | 
						|
 * @since 2.0.7
 | 
						|
 */
 | 
						|
if object_id('[cache]', 'U') is not null
 | 
						|
    drop table [cache];
 | 
						|
 | 
						|
drop table if exists [cache];
 | 
						|
 | 
						|
create table [cache]
 | 
						|
(
 | 
						|
    [id]  varchar(128) not null,
 | 
						|
    [expire] integer,
 | 
						|
    [data]   BLOB,
 | 
						|
    primary key ([id])
 | 
						|
);
 |