Skip to content

Commit

Permalink
updated fix:media command with newest modules
Browse files Browse the repository at this point in the history
  • Loading branch information
clwilliams8 committed Apr 9, 2021
1 parent e7ebd58 commit 43249c1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Console/Commands/FixMedia.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@

namespace Flex360\Pilot\Console\Commands;

use Flex360\Pilot\Pilot\Faq;
use Flex360\Pilot\Pilot\Page;
use Flex360\Pilot\Pilot\Post;
use Flex360\Pilot\Pilot\Event;
use Illuminate\Console\Command;
use Flex360\Pilot\Pilot\Product;
use Flex360\Pilot\Pilot\Project;
use Flex360\Pilot\Pilot\Service;
use Flex360\Pilot\Pilot\Employee;
use Flex360\Pilot\Pilot\Resource;
use Illuminate\Support\Facades\DB;
use Flex360\Pilot\Pilot\Department;
use Illuminate\Support\Facades\App;
use Flex360\Pilot\Pilot\FaqCategory;
use Flex360\Pilot\Pilot\Testimonial;
use Flex360\Pilot\Pilot\ProductCategory;
use Flex360\Pilot\Pilot\ProjectCategory;
use Flex360\Pilot\Pilot\ServiceCategory;
use Flex360\Pilot\Pilot\ResourceCategory;

class FixMedia extends Command
Expand Down Expand Up @@ -54,6 +63,15 @@ public function handle()
Post::class,
Resource::class,
ResourceCategory::class,
Service::class,
ServiceCategory::class,
Product::class,
ProductCategory::class,
Faq::class,
FaqCategory::class,
Project::class,
ProjectCategory::class,
Testimonial::class,
];

foreach ($coreClasses as $coreClass) {
Expand Down

0 comments on commit 43249c1

Please sign in to comment.