File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 2121use Illuminate \Support \ServiceProvider ;
2222use Illuminate \Support \Str ;
2323use Spatie \Health \Checks \Checks \CacheCheck ;
24+ use Spatie \Health \Checks \Checks \DatabaseCheck ;
2425use Spatie \Health \Checks \Checks \DebugModeCheck ;
2526use Spatie \Health \Checks \Checks \EnvironmentCheck ;
2627use Spatie \Health \Checks \Checks \ScheduleCheck ;
27- use Spatie \Health \Facades \Health ;
2828use Spatie \Health \Checks \Checks \UsedDiskSpaceCheck ;
29- use Spatie \Health \Checks \ Checks \ DatabaseCheck ;
29+ use Spatie \Health \Facades \ Health ;
3030
3131class AppServiceProvider extends ServiceProvider
3232{
Original file line number Diff line number Diff line change 55use Illuminate \Support \Facades \Schema ;
66use Spatie \Health \ResultStores \EloquentHealthResultStore ;
77
8- return new class extends Migration
9- {
8+ return new class extends Migration {
109 public function up ()
1110 {
1211 $ tableName = EloquentHealthResultStore::getHistoryItemInstance ()->getTable ();
13-
12+
1413 Schema::create ($ tableName , function (Blueprint $ table ) {
1514 $ table ->id ();
1615
@@ -25,8 +24,8 @@ public function up()
2524
2625 $ table ->timestamps ();
2726 });
28-
29- Schema::table ($ tableName , function (Blueprint $ table ) {
27+
28+ Schema::table ($ tableName , function (Blueprint $ table ) {
3029 $ table ->index ('created_at ' );
3130 $ table ->index ('batch ' );
3231 });
You can’t perform that action at this time.
0 commit comments