added crypto pm and activation key system
This commit is contained in:
28
database/seeders/UpdatePlansTableSeeder.php
Normal file
28
database/seeders/UpdatePlansTableSeeder.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user