mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
25 lines
426 B
PHP
25 lines
426 B
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/*
|
|
* This adds user_sota_lookup to the users table.
|
|
*/
|
|
|
|
class Migration_add_user_sota_lookup extends CI_Migration {
|
|
|
|
public function up()
|
|
{
|
|
$fields = array(
|
|
'user_sota_lookup integer DEFAULT 0',
|
|
);
|
|
|
|
$this->dbforge->add_column('users', $fields);
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->dbforge->drop_column('users', 'user_sota_lookup');
|
|
}
|
|
}
|