Changed to VARCHAR(255)

This commit is contained in:
int2001
2024-11-11 14:00:27 +00:00
parent 41bd2dd2f6
commit 9fbd946cd0

View File

@@ -7,7 +7,8 @@ class Migration_add_cat_url extends CI_Migration {
public function up() { public function up() {
$fields = array( $fields = array(
'cat_url' => array( 'cat_url' => array(
'type' => 'TEXT', 'type' => 'VARCHAR',
'constraint' => '255',
'null' => FALSE, 'null' => FALSE,
'default' => 'http://127.0.0.1:54321' 'default' => 'http://127.0.0.1:54321'
), ),