firstcommit
This commit is contained in:
0
Modules/Setting/database/migrations/.gitkeep
Normal file
0
Modules/Setting/database/migrations/.gitkeep
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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('settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->uuid();
|
||||
$table->string('setting_name');
|
||||
$table->string('name')->nullable();
|
||||
$table->text('detail')->nullable();
|
||||
$table->string('status')->default('active');
|
||||
$table->softDeletes();
|
||||
|
||||
// $table->string('company_name');
|
||||
// $table->string('address')->nullable();
|
||||
// $table->string('contact_number')->nullable();
|
||||
// $table->string('email_info')->nullable();
|
||||
// $table->string('mobile_number')->nullable();
|
||||
// $table->string('mobile_number_2')->nullable();
|
||||
// $table->string('email_support')->nullable();
|
||||
// $table->string('opening_hours')->nullable();
|
||||
|
||||
// $table->string('support_email_address')->nullable();
|
||||
// $table->date('establish_date')->nullable();
|
||||
// $table->text('short_detail')->nullable();
|
||||
// $table->string('meta_title')->nullable();
|
||||
// $table->text('meta_detail')->nullable();
|
||||
// $table->text('meta_keywords')->nullable();
|
||||
// $table->string('facebook')->nullable();
|
||||
// $table->string('twitter')->nullable();
|
||||
// $table->string('instagram')->nullable();
|
||||
// $table->string('youtube')->nullable();
|
||||
// $table->text('additional_script', 1000)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('settings');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user