Changed Migration so that it checks if qsl_images exists as i kept getting errors jumping around branches :)
这个提交包含在:
父节点
82ad08d290
当前提交
6de9ff69b0
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -7,7 +7,7 @@ class Migration_add_qsl_images extends CI_Migration {
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
// create qsl images table
|
// create qsl images table
|
||||||
$this->db->query("CREATE TABLE `qsl_images`
|
$this->db->query("CREATE TABLE IF NOT EXISTS `qsl_images`
|
||||||
(`id` integer NOT NULL auto_increment, `qsoid` int, `filename` text, primary key (id))
|
(`id` integer NOT NULL auto_increment, `qsoid` int, `filename` text, primary key (id))
|
||||||
ENGINE=myisam DEFAULT CHARSET=utf8;");
|
ENGINE=myisam DEFAULT CHARSET=utf8;");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用