📜  不能自动转换为整数 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:50.950000             🧑  作者: Mango

代码示例1
public function up()
{
    DB::statement('ALTER TABLE job_listings ALTER COLUMN 
                  company_id TYPE integer USING (company_id)::integer');
}