当前提交
dd94f5bb86
共有 1 个文件被更改,包括 9 次插入 和 4 次删除
|
|
@ -1,11 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Create migration that makes the submode column in the logbook table an index
|
// Create migration that makes the submode column in the logbook table an index
|
||||||
class Migration_extend_default_qsl extends CI_Migration {
|
class Migration_extend_default_qsl extends CI_Migration
|
||||||
|
{
|
||||||
|
|
||||||
public function up() {
|
public function up()
|
||||||
|
{
|
||||||
$this->db->query("ALTER TABLE `users` CHANGE COLUMN `user_default_confirmation` `user_default_confirmation` VARCHAR(4) NULL DEFAULT NULL");
|
$this->db->query("ALTER TABLE `users` CHANGE COLUMN `user_default_confirmation` `user_default_confirmation` VARCHAR(4) NULL DEFAULT NULL");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
public function down()
|
||||||
|
{
|
||||||
|
//the down function can be empty here, but we need one.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用