Merge pull request #2801 from HB9HIL/down_function

down function was missing
This commit is contained in:
Peter Goodhall 2023-12-08 15:30:14 +00:00 committed by GitHub
commit dd94f5bb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,16 @@
<?php
// 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");
}
}
?>
public function down()
{
//the down function can be empty here, but we need one.
}
}