migrate to gtea from bistbucket
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\Banner;
|
||||
|
||||
class BannerTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
Banner::insert([
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Fuedevs School - Excellence in Education, Brighter Futures Ahead!',
|
||||
'description' => 'A place where customers learn, grow, and succeed.',
|
||||
'button_name' => 'Enroll Now',
|
||||
'button_link' => '#',
|
||||
'image' => 'https://i.ibb.co.com/Hf5zNcmQ/image-1.png',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user