We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1db063 commit 8a01a29Copy full SHA for 8a01a29
database/seeds/SubscriptionPlanTableSeeder.php
@@ -11,7 +11,7 @@ class SubscriptionPlanTableSeeder extends Seeder
11
public function run()
12
{
13
SubscriptionPlan::truncate();
14
- DB::delete('TRUNCATE subscription_plan_feature_pivot');
+ //DB::delete('TRUNCATE subscription_plan_feature_pivot');
15
16
$csvPath = database_path() . DIRECTORY_SEPARATOR . 'seeds' . DIRECTORY_SEPARATOR . 'csv' . DIRECTORY_SEPARATOR . 'subscription_plans.csv';
17
$items = csv_to_array($csvPath);
@@ -39,4 +39,4 @@ public function run()
39
$row->features()->attach($features);
40
}
41
42
-}
+}
0 commit comments