ALTER TABLE `table_name` ADD `my_column` SET('optionOne','optionTwo') NULL DEFAULT NULL COMMENT 'Comment for Columm';
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
<?php | |
namespace Config; | |
use CodeIgniter\Config\BaseConfig; | |
class Email extends BaseConfig | |
{ | |
public string $fromEmail = 'info@codeIgniter4.ir'; | |
public string $fromName = 'codeIgniter4DotIR'; |
ALTER TABLE `table_name` ADD `my_column` SET('optionOne','optionTwo') NULL DEFAULT NULL COMMENT 'Comment for Columm';
<?php
namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;