[Advanced search] Added migration script.
这个提交包含在:
		
							父节点
							
								
									97b5b1b2c8
								
							
						
					
					
						当前提交
						7979431d95
					
				
					共有  2 个文件被更改,包括 15 次插入 和 1 次删除
				
			
		|  | @ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE; | ||||||
| | be upgraded / downgraded to. | | be upgraded / downgraded to. | ||||||
| | | | | ||||||
| */ | */ | ||||||
| $config['migration_version'] = 70; | $config['migration_version'] = 79; | ||||||
| 
 | 
 | ||||||
| /* | /* | ||||||
| |-------------------------------------------------------------------------- | |-------------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | @ -0,0 +1,14 @@ | ||||||
|  | <?php defined('BASEPATH') OR exit('No direct script access allowed'); | ||||||
|  | 
 | ||||||
|  | class Migration_add_queries_table extends CI_Migration | ||||||
|  | { | ||||||
|  | 	public function up() | ||||||
|  | 	{ | ||||||
|  | 		$this->db->query("create table queries (id integer not null auto_increment, query text, description text, userid integer not null, primary key (id)) ENGINE=myisam DEFAULT CHARSET=utf8;"); | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	public function down() | ||||||
|  | 	{ | ||||||
|  | 		$this->db->query(""); | ||||||
|  | 	} | ||||||
|  | } | ||||||
		正在加载…
	
		在新工单中引用