table('datadb') ->changeColumn('excelrow', 'string', [ 'limit' => 100, 'null' => true, ]) ->update(); } public function down(): void { $this->table('datadb') ->changeColumn('excelrow', 'integer', [ 'null' => true, ]) ->update(); } }