migrate to gtea from bistbucket
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('faq_questions', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('question', 255);
|
||||
$table->longText('answer')->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('faq_questions');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('policies', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('type')->comment('1=privacy, 2=cookie, 3=terms & conditions');
|
||||
$table->longText('description');
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('policies');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('academic_images', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('title')->nullable();
|
||||
$table->text('heading')->nullable();
|
||||
$table->longText('description')->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('academic_images');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('about_us', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('title', 255)->index();
|
||||
$table->longText('description')->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('about_us');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('our_histories', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->year('year');
|
||||
$table->string('title', 255);
|
||||
$table->text('descriptions')->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('our_histories');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('banners', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->string('button_name', 100)->nullable();
|
||||
$table->string('button_link', 500)->nullable();
|
||||
$table->string('button_two_name', 100)->nullable();
|
||||
$table->string('button_two_link', 500)->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->foreignId('created_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('banners');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('testimonials', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('name');
|
||||
$table->longText('description');
|
||||
$table->string('thumbnail_image')->nullable();
|
||||
$table->string('video_url')->nullable();
|
||||
$table->string('note')->nullable();
|
||||
$table->integer('ratting')->default(0);
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('testimonials');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('frontend_contacts', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('email');
|
||||
$table->string('name')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->string('subject')->nullable();
|
||||
$table->text('message')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
// Unique per restaurant + email only
|
||||
$table->unique(['restaurant_id', 'email'], 'restaurant_email_unique');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('frontend_contacts');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('pages', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
$table->string('title');
|
||||
$table->string('slug');
|
||||
$table->string('type');
|
||||
$table->text('content')->nullable();
|
||||
$table->string('meta_data')->nullable();
|
||||
$table->text('seo_meta_keywords')->nullable();
|
||||
$table->text('seo_meta_description')->nullable();
|
||||
$table->string('page_status')->default('draft');
|
||||
$table->string('page_template')->default('default');
|
||||
$table->unsignedBigInteger('author_id')->index();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
// Combine unique constraint
|
||||
$table->unique(['restaurant_id', 'slug'], 'unique_combination');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('pages');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('onboardings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
// 🏢 Restaurant Information
|
||||
$table->string('restaurant_name');
|
||||
$table->string('restaurant_email')->nullable();
|
||||
$table->string('restaurant_phone', 20)->nullable();
|
||||
$table->string('restaurant_domain');
|
||||
$table->string('restaurant_type')->nullable();
|
||||
$table->string('restaurant_address');
|
||||
$table->string('restaurant_logo')->nullable();
|
||||
|
||||
// 👤 Owner / User Information
|
||||
$table->string('name');
|
||||
$table->string('email');
|
||||
$table->string('phone', 20)->nullable();
|
||||
$table->string('password');
|
||||
$table->string('avatar')->nullable();
|
||||
|
||||
$table->decimal('amount', 10, 2)->default(0);
|
||||
$table->enum('status', ['pending', 'in_progress', 'documents_submitted', 'approved', 'rejected', 'hold'])->default('pending');
|
||||
$table->foreignId('approved_by')->nullable()->constrained('users')->nullOnDelete();
|
||||
$table->timestamp('approved_at')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
// ⚡ Indexes
|
||||
$table->index(['status']);
|
||||
$table->index(['restaurant_name']);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('onboardings');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('why_choose_us', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
|
||||
$table->string('title');
|
||||
$table->text('description')->nullable();
|
||||
$table->string('icon')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('why_choose_us');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('ready_to_join_us', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
|
||||
$table->string('title');
|
||||
$table->text('description')->nullable();
|
||||
$table->string('icon')->nullable();
|
||||
$table->string('button_name', 100)->nullable();
|
||||
$table->string('button_link', 500)->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('ready_to_join_us');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('mobile_app_sections', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('restaurant_id')->constrained('restaurants')->cascadeOnDelete();
|
||||
|
||||
$table->string('title');
|
||||
$table->string('heading');
|
||||
$table->text('description')->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->string('feature_one')->nullable();
|
||||
$table->string('feature_two')->nullable();
|
||||
$table->string('feature_three')->nullable();
|
||||
$table->string('play_store_link')->nullable();
|
||||
$table->string('app_store_link')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('mobile_app_sections');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('themes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('category'); // Core Academic, Early Childhood, etc.
|
||||
$table->string('name'); // Elementary, High School, etc.
|
||||
$table->string('icon')->nullable(); // 🏫, 🎒, etc.
|
||||
$table->string('description'); // Theme purpose
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('themes');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('c_m_s_sections', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('restaurant_id')->nullable();
|
||||
$table->string('name');
|
||||
$table->integer('serial')->default(0);
|
||||
$table->string('title')->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=InActive');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('c_m_s_sections');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('coupons', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('restaurant_id')->nullable()->comment('Optional restaurant id');
|
||||
$table->unsignedBigInteger('user_id')->nullable()->comment('User who created this coupon');
|
||||
$table->string('name', 100)->comment('Coupon name');
|
||||
$table->string('added_by')->nullable()->comment('Added by admin/system');
|
||||
$table->enum('discount_type', ['fixed', 'percentage', 'free_delivery'])->default('fixed')->comment('Discount type');
|
||||
$table->enum('coupon_type', ['restaurant', 'hotel', 'both'])->default('restaurant')->comment('Where this coupon can be used');
|
||||
$table->decimal('amount', 10, 2)->default(0.00)->comment('Discount amount or percentage');
|
||||
$table->dateTime('valid_from')->nullable()->comment('Start date/time');
|
||||
$table->dateTime('valid_to')->nullable()->comment('End date/time');
|
||||
$table->unsignedInteger('usage_limit')->default(1)->comment('Total usage limit');
|
||||
$table->unsignedInteger('max_uses_per_customer')->default(1)->comment('Max usage per customer');
|
||||
$table->decimal('min_order_amount', 10, 2)->nullable()->comment('Minimum order amount to apply coupon');
|
||||
$table->string('image')->nullable()->comment('Coupon image/banner');
|
||||
$table->string('source')->default('local')->comment('Local or external');
|
||||
$table->smallInteger('status')->default(1)->comment('1=Active, 2=Inactive');
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
// Indexes for faster queries
|
||||
$table->index('restaurant_id');
|
||||
$table->index('user_id');
|
||||
$table->index(['valid_from', 'valid_to']);
|
||||
$table->index('status');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('coupons');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('coupon_usages', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('restaurant_id')->nullable()->comment('Optional restaurant id');
|
||||
$table->unsignedBigInteger('coupon_id');
|
||||
$table->unsignedBigInteger('customer_id')->nullable(); // customer using the coupon
|
||||
$table->unsignedBigInteger('order_id')->nullable(); // optional link to order
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('coupon_id')->references('id')->on('coupons')->onDelete('cascade');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('coupon_usages');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\AboutUs;
|
||||
|
||||
class AboutUsTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
AboutUs::insert([
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Welcome to Fudevs School',
|
||||
'description' => 'We provide a nurturing environment, a challenging curriculum, and a dedicated faculty to ensure customer success.',
|
||||
'image' => 'https://i.ibb.co.com/jkr9s80Q/image.png',
|
||||
'status' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -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(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class CmsSectionsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$sections = [
|
||||
['name' => 'banner', 'serial' => 1],
|
||||
['name' => 'about_us', 'serial' => 2],
|
||||
['name' => 'why_choose_us', 'serial' => 3],
|
||||
['name' => 'signature_creation', 'serial' => 4],
|
||||
['name' => 'main_menu', 'serial' => 5],
|
||||
['name' => 'chef', 'serial' => 6],
|
||||
['name' => 'table_reservation', 'serial' => 7],
|
||||
['name' => 'testimonial', 'serial' => 8],
|
||||
['name' => 'visit_us', 'serial' => 9],
|
||||
['name' => 'newsletter', 'serial' => 10],
|
||||
];
|
||||
|
||||
foreach ($sections as $section) {
|
||||
DB::table('c_m_s_sections')->insert([
|
||||
'restaurant_id' => 1,
|
||||
'name' => $section['name'],
|
||||
'serial' => $section['serial'],
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\Coupon;
|
||||
|
||||
class CouponSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
// Percentage coupon
|
||||
Coupon::create([
|
||||
'restaurant_id' => 1,
|
||||
'name' => '10% OFF',
|
||||
'discount_type' => 'percentage',
|
||||
'coupon_type' => 'restaurant',
|
||||
'amount' => 10, // 10%
|
||||
'valid_from' => now(),
|
||||
'valid_to' => now()->addMonth(),
|
||||
'usage_limit' => 100,
|
||||
'max_uses_per_customer' => 1,
|
||||
'min_order_amount' => 500,
|
||||
'status' => 1,
|
||||
'source' => 'local',
|
||||
]);
|
||||
|
||||
// Fixed coupon
|
||||
Coupon::create([
|
||||
'restaurant_id' => 1,
|
||||
'name' => '50 BDT OFF',
|
||||
'discount_type' => 'fixed',
|
||||
'coupon_type' => 'restaurant',
|
||||
'amount' => 50, // Fixed amount
|
||||
'valid_from' => now(),
|
||||
'valid_to' => now()->addMonth(),
|
||||
'usage_limit' => 100,
|
||||
'max_uses_per_customer' => 1,
|
||||
'min_order_amount' => 200,
|
||||
'status' => 1,
|
||||
'source' => 'local',
|
||||
]);
|
||||
|
||||
// Both type coupon
|
||||
Coupon::create([
|
||||
'restaurant_id' => 1,
|
||||
'name' => 'Special Both Coupon',
|
||||
'discount_type' => 'fixed',
|
||||
'coupon_type' => 'both', // usable for restaurant & hotel
|
||||
'amount' => 100, // Fixed amount
|
||||
'valid_from' => now(),
|
||||
'valid_to' => now()->addMonth(),
|
||||
'usage_limit' => 50,
|
||||
'max_uses_per_customer' => 1,
|
||||
'min_order_amount' => 500,
|
||||
'status' => 1,
|
||||
'source' => 'local',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\FaqQuestion;
|
||||
|
||||
class FaqQuestionSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
FaqQuestion::insert([
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
|
||||
'question' => 'What is an academic program?',
|
||||
'answer' => 'The academic program is a one stop solution for customers. Where every customer has the opportunity to ensure A+ preparation for board exams through interactive live classes, homework, live tests and progress analysis by the best mentors in each subject throughout the year. Once a customer starts this program, he will not have to go to any coaching or private tutor after school/college.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
|
||||
'question' => 'What is an academic program?',
|
||||
'answer' => 'The academic program is a one stop solution for customers. Where every customer has the opportunity to ensure A+ preparation for board exams through interactive live classes, homework, live tests and progress analysis by the best mentors in each subject throughout the year. Once a customer starts this program, he will not have to go to any coaching or private tutor after school/college.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
|
||||
'question' => 'What is an academic program?',
|
||||
'answer' => 'The academic program is a one stop solution for customers. Where every customer has the opportunity to ensure A+ preparation for board exams through interactive live classes, homework, live tests and progress analysis by the best mentors in each subject throughout the year. Once a customer starts this program, he will not have to go to any coaching or private tutor after school/college.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class FrontendDatabaseSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$this->call(ThemesTableSeeder::class);
|
||||
$this->call(BannerTableSeeder::class);
|
||||
$this->call(AboutUsTableSeeder::class);
|
||||
$this->call(OurHistorySeeder::class);
|
||||
$this->call(FaqQuestionSeeder::class);
|
||||
$this->call(PolicySeeder::class);
|
||||
$this->call(TestimonialTableSeeder::class);
|
||||
$this->call(WhyChooseUsTableSeeder::class);
|
||||
$this->call(ReadyToJoinUsSeeder::class);
|
||||
$this->call(MobileAppSectionSeeder::class);
|
||||
$this->call(CmsSectionsSeeder::class);
|
||||
$this->call(CouponSeeder::class);
|
||||
|
||||
$pages = [
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Home',
|
||||
'slug' => 'home',
|
||||
'type' => 'home',
|
||||
'content' => '<p>Home page content</p>',
|
||||
'meta_data' => null,
|
||||
'seo_meta_keywords' => 'home, welcome',
|
||||
'seo_meta_description' => 'This is the home page',
|
||||
'page_status' => 'publish',
|
||||
'page_template' => 'default',
|
||||
'author_id' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'About Us',
|
||||
'slug' => 'about-us',
|
||||
'type' => 'about',
|
||||
'content' => '<p>About us content</p>',
|
||||
'meta_data' => null,
|
||||
'seo_meta_keywords' => 'about, us',
|
||||
'seo_meta_description' => 'Learn more about us',
|
||||
'page_status' => 'publish',
|
||||
'page_template' => 'default',
|
||||
'author_id' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Mission',
|
||||
'slug' => 'mission',
|
||||
'type' => 'mission',
|
||||
'content' => '<p>Demo College provides quality education to customers...</p>',
|
||||
'meta_data' => null,
|
||||
'seo_meta_keywords' => 'mission, education, customers',
|
||||
'seo_meta_description' => 'Our mission is to provide quality education.',
|
||||
'page_status' => 'publish',
|
||||
'page_template' => 'default',
|
||||
'author_id' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Vision',
|
||||
'slug' => 'vision',
|
||||
'type' => 'vision',
|
||||
'content' => '<p>Demo College inspires customers to acquire genuine knowledge...</p>',
|
||||
'meta_data' => null,
|
||||
'seo_meta_keywords' => 'vision, education, knowledge',
|
||||
'seo_meta_description' => 'Our vision is to inspire customers with knowledge.',
|
||||
'page_status' => 'publish',
|
||||
'page_template' => 'default',
|
||||
'author_id' => 1,
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
];
|
||||
|
||||
// Insert pages
|
||||
DB::table('pages')->insert($pages);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\MobileAppSection;
|
||||
|
||||
class MobileAppSectionSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
MobileAppSection::create([
|
||||
'restaurant_id' => 1,
|
||||
'title' => 'Stay Connected Anywhere, Anytime!',
|
||||
'heading' => 'Mobile App',
|
||||
'description' => 'With our official Fudevs School Mobile App, parents and customers can:',
|
||||
'image' => 'mobile_app.png',
|
||||
'feature_one' => 'Check schedules & notifications',
|
||||
'feature_two' => 'Receive instant updates',
|
||||
'feature_three' => 'Track customer progress',
|
||||
'play_store_link' => 'https://play.google.com/store/apps/details?id=com.example.app',
|
||||
'app_store_link' => 'https://apps.apple.com/us/app/example-app/id123456789',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\OurHistory;
|
||||
|
||||
class OurHistorySeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
OurHistory::insert([
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
|
||||
'year' => 1972,
|
||||
'title' => 'Mere tranquil existence',
|
||||
'descriptions' => 'Possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart am alone',
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class PolicySeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
DB::table('policies')->insert([
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'type' => 'privacy',
|
||||
'description' => 'This Privacy Policy explains how we collect, use, and protect your personal data when you use our Learning Management System (LMS). We prioritize your privacy and comply with data protection laws.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'type' => 'cookie',
|
||||
'description' => 'Our Cookie Policy explains how we use cookies to improve your experience on our LMS platform. By using our site, you agree to our use of cookies for analytics, personalization, and security.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
[
|
||||
'restaurant_id' => 1,
|
||||
'type' => 'terms',
|
||||
'description' => 'These Terms & Conditions outline the rules and regulations for using our LMS. By accessing our platform, you agree to abide by our terms, including content usage, user conduct, and dispute resolution.',
|
||||
'created_at' => now(),
|
||||
'updated_at' => now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Authentication\Models\Restaurant;
|
||||
use Modules\Frontend\Models\ReadyToJoinUs;
|
||||
|
||||
class ReadyToJoinUsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$restaurant = Restaurant::first();
|
||||
if (! $restaurant) {
|
||||
$this->command->info('No restaurant found! Please seed the restaurants table first.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ReadyToJoinUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
|
||||
'title' => 'Inquiry & Campus Visit',
|
||||
'description' => 'Get in touch or schedule a campus tour to see our facilities and learn more about what we offer.',
|
||||
'icon' => 'https://i.ibb.co.com/PZrX6pDQ/Group-2.png',
|
||||
'button_name' => 'Contact Us',
|
||||
'button_link' => '#',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
ReadyToJoinUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
|
||||
'title' => 'Submit Your Application',
|
||||
'description' => 'Complete the online application form to start the admission process.',
|
||||
'icon' => 'https://i.ibb.co.com/35nLXwLR/Group-1.png',
|
||||
'button_name' => 'Apply Now',
|
||||
'button_link' => '#',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
ReadyToJoinUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
|
||||
'title' => 'Admission Confirmation',
|
||||
'description' => 'Once accepted, complete your enrollment and confirm your place for the upcoming academic year.',
|
||||
'icon' => 'https://i.ibb.co.com/yns7RVZN/Group.png',
|
||||
'button_name' => 'Download Admission Form',
|
||||
'button_link' => '#',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Authentication\Models\Restaurant;
|
||||
use Modules\Frontend\Models\Testimonial;
|
||||
|
||||
class TestimonialTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$restaurant = Restaurant::first();
|
||||
if (! $restaurant) {
|
||||
$this->command->info('No restaurant found! Please seed the restaurants table first.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Testimonial::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'name' => 'Feedback-01',
|
||||
'description' => 'I love learning here! The teachers are supportive, and the activities are fun.',
|
||||
'status' => 1,
|
||||
'ratting' => 5,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
Testimonial::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'name' => 'Feedback-02',
|
||||
'description' => 'A great place to teach! The school values both customers and educators.',
|
||||
'status' => 1,
|
||||
'ratting' => 5,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
Testimonial::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'name' => 'Feedback-03',
|
||||
'description' => 'The best decision for my child! Excellent education and communication.',
|
||||
'status' => 1,
|
||||
'ratting' => 5,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Frontend\Models\Theme;
|
||||
|
||||
class ThemesTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$themes = [
|
||||
// 🍽️ Casual Dining
|
||||
['category' => 'Casual Dining', 'name' => 'Modern Bistro', 'icon' => '🍴', 'description' => 'Contemporary design with cozy vibe'],
|
||||
['category' => 'Casual Dining', 'name' => 'Family Restaurant', 'icon' => '👨👩👧👦', 'description' => 'Warm, inviting layout for families'],
|
||||
|
||||
// 🍕 Fast Food & Takeaway
|
||||
['category' => 'Fast Food', 'name' => 'Burger & Fries', 'icon' => '🍔', 'description' => 'Bright, energetic theme for quick bites'],
|
||||
['category' => 'Fast Food', 'name' => 'Pizza Corner', 'icon' => '🍕', 'description' => 'Fun and appetizing design for pizza lovers'],
|
||||
|
||||
// 🥗 Healthy & Vegan
|
||||
['category' => 'Healthy & Vegan', 'name' => 'Green Delight', 'icon' => '🥗', 'description' => 'Fresh, clean design with nature-inspired colors'],
|
||||
|
||||
// 🍣 Fine Dining
|
||||
['category' => 'Fine Dining', 'name' => 'Elegant Cuisine', 'icon' => '🍷', 'description' => 'Sophisticated theme with luxurious feel'],
|
||||
|
||||
// ☕ Cafes & Desserts
|
||||
['category' => 'Cafe & Dessert', 'name' => 'Coffee House', 'icon' => '☕', 'description' => 'Warm and cozy vibe for coffee lovers'],
|
||||
['category' => 'Cafe & Dessert', 'name' => 'Bakery & Sweets', 'icon' => '🍰', 'description' => 'Bright, cheerful design for dessert restaurants'],
|
||||
|
||||
// 🌮 Ethnic / Specialty
|
||||
['category' => 'Ethnic & Specialty', 'name' => 'Italian Trattoria', 'icon' => '🇮🇹', 'description' => 'Authentic, rustic Italian design'],
|
||||
['category' => 'Ethnic & Specialty', 'name' => 'Sushi Bar', 'icon' => '🍣', 'description' => 'Minimalist, modern Japanese design'],
|
||||
|
||||
// 🌍 Global Cuisine
|
||||
['category' => 'Global Cuisine', 'name' => 'World Flavors', 'icon' => '🌎', 'description' => 'Dynamic theme for international dishes'],
|
||||
];
|
||||
|
||||
foreach ($themes as $theme) {
|
||||
Theme::create($theme);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Frontend\Database\Seeders;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Authentication\Models\Restaurant;
|
||||
use Modules\Frontend\Models\WhyChooseUs;
|
||||
|
||||
class WhyChooseUsTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$restaurant = Restaurant::first();
|
||||
if (! $restaurant) {
|
||||
$this->command->info('No restaurant found! Please seed the restaurants table first.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
WhyChooseUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'title' => 'Personalized Education',
|
||||
'description' => 'We tailor the learning experience to suit each customer`s strengths and needs.',
|
||||
'icon' => 'https://i.ibb.co.com/hx9JgrTq/fi-2097062.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
WhyChooseUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'title' => 'Experienced Faculty',
|
||||
'description' => 'Our team of highly qualified teachers is dedicated to nurturing your child`s potential .',
|
||||
'icon' => 'https://i.ibb.co.com/TqwD1x5h/fi-2097104.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
WhyChooseUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'title' => 'State-of-the-Art Facilities',
|
||||
'description' => 'From smart classrooms to recreational areas, we offer the best resources for customers to thrive.',
|
||||
'icon' => 'https://i.ibb.co.com/4RVcT1w1/fi-2097055.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
|
||||
WhyChooseUs::create([
|
||||
'restaurant_id' => $restaurant->id,
|
||||
'title' => 'Holistic Development',
|
||||
'description' => 'Beyond academics, we focus on sports, arts, and personal growth to prepare customers for the future.',
|
||||
'icon' => 'https://i.ibb.co.com/Pv8GhnbM/fi-2097052.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user