29 lines
618 B
PHP
29 lines
618 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Plan;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class UpdatePlansTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
Plan::where('id', 1)->update([
|
|
'shoppy_product_id' => 'MsYfrRX',
|
|
'accept_stripe' => 1,
|
|
'accept_shoppy' => 1,
|
|
]);
|
|
|
|
Plan::where('id', 2)->update([
|
|
'shoppy_product_id' => '1oU5SNT',
|
|
'accept_stripe' => 1,
|
|
'accept_shoppy' => 1,
|
|
]);
|
|
}
|
|
}
|