mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
Increase COL_CREDIT_SUBMITTED to 255
This commit is contained in:
parent
471c83a8b8
commit
a29bf27ed1
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 179;
|
||||
$config['migration_version'] = 180;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* Increase COL_CREDIT_SUBMITTED field size to 255
|
||||
*/
|
||||
|
||||
class Migration_qso_table_credit_submitted_increase extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
$fields = array(
|
||||
'COL_CREDIT_SUBMITTED' => array(
|
||||
'name' => 'COL_CREDIT_SUBMITTED',
|
||||
'type' => 'VARCHAR',
|
||||
'constraint' => '255',
|
||||
)
|
||||
);
|
||||
$this->dbforge->modify_column($this->config->item('table_name'), $fields);
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
echo "Not possible, sorry.";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user