清理 缓存
This commit is contained in:
parent
7bedade876
commit
7123bb900f
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Support\Facades\Artisan;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
return new class extends Migration {
|
return new class extends Migration {
|
||||||
@ -12,6 +13,8 @@
|
|||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
DB::raw('ALTER TABLE `hosts` CHANGE `price` `price` DOUBLE(60,8) NULL DEFAULT NULL;');
|
DB::raw('ALTER TABLE `hosts` CHANGE `price` `price` DOUBLE(60,8) NULL DEFAULT NULL;');
|
||||||
|
|
||||||
|
Artisan::call('modelCache:clear');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user