Increase COL_CREDIT_SUBMITTED to 255

这个提交包含在:
Peter Goodhall 2024-04-30 15:55:36 +01:00
父节点 471c83a8b8
当前提交 a29bf27ed1
共有 2 个文件被更改,包括 28 次插入1 次删除

查看文件

@ -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.";
}
}