如何修复创建会话迁移
未定义的变量:数据库驱动程序位于SYSTEMPATH\命令\生成器\视图\迁移。tpl.php:16
enter codnamespace {namespace};
use CodeIgniter\Database\Migration;
class {class} extends Migration
{
protected $DBGroup = 'default';
public function up()
{
$this->forge->addField([
'id' => ['type' => 'VARCHAR', 'constraint' => 128, 'null' => false]e here
1条答案
按热度按时间toiithl61#
使用以下命令php spark make:迁移--会话