mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Added Mig
This commit is contained in:
14
application/migrations/198_qsl_methods_extend.php
Normal file
14
application/migrations/198_qsl_methods_extend.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Migration_qsl_methods_extend extends CI_Migration {
|
||||
|
||||
public function up() {
|
||||
$this->db->query("ALTER TABLE users CHANGE COLUMN `user_default_confirmation` `user_default_confirmation` VARCHAR(10) NULL DEFAULT NULL"); // Do 10 Characters for Future Use
|
||||
}
|
||||
|
||||
public function down(){
|
||||
// Down is senseless, since value in field could be longer than 4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user