Skip to content

Commit 8a01a29

Browse files
author
AkkuFresh
authored
Remove DB::delete
1 parent d1db063 commit 8a01a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/seeds/SubscriptionPlanTableSeeder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class SubscriptionPlanTableSeeder extends Seeder
1111
public function run()
1212
{
1313
SubscriptionPlan::truncate();
14-
DB::delete('TRUNCATE subscription_plan_feature_pivot');
14+
//DB::delete('TRUNCATE subscription_plan_feature_pivot');
1515

1616
$csvPath = database_path() . DIRECTORY_SEPARATOR . 'seeds' . DIRECTORY_SEPARATOR . 'csv' . DIRECTORY_SEPARATOR . 'subscription_plans.csv';
1717
$items = csv_to_array($csvPath);
@@ -39,4 +39,4 @@ public function run()
3939
$row->features()->attach($features);
4040
}
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)