first commit
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.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('accridations', function (Blueprint $table) {
|
||||
$table->id('accridiation_id');
|
||||
$table->string('display')->nullable();
|
||||
$table->string('title')->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->string('thumb')->nullable();
|
||||
$table->string('cover')->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->integer('created_by')->nullable();
|
||||
$table->integer('updated_by')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('accridations');
|
||||
}
|
||||
};
|
@ -0,0 +1,32 @@
|
||||
<?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('activity_logs', function (Blueprint $table) {
|
||||
$table->id('activity_id');
|
||||
$table->integer('user_id')->nullable();
|
||||
$table->string('controllerName')->nullable();
|
||||
$table->string('methodName')->nullable();
|
||||
$table->string('actionUrl')->nullable();
|
||||
$table->string('activity')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('activity_logs');
|
||||
}
|
||||
};
|
@ -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('articles', function (Blueprint $table) {
|
||||
$table->id('article_id');
|
||||
$table->integer('parent_article')->default(0);
|
||||
$table->string('title', 250)->nullable();
|
||||
$table->text('subtitle')->nullable();
|
||||
$table->string('alias', 250)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('cover_photo', 500)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('articles');
|
||||
}
|
||||
};
|
42
database/migrations/2024_06_10_073647_create_tbl_blogs.php
Normal file
42
database/migrations/2024_06_10_073647_create_tbl_blogs.php
Normal file
@ -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('blogs', function (Blueprint $table) {
|
||||
$table->id('blog_id');
|
||||
$table->integer('parent_blog')->default(0);
|
||||
$table->string('title', 250)->nullable();
|
||||
$table->string('alias', 250)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('cover', 255)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('blogs');
|
||||
}
|
||||
};
|
@ -0,0 +1,49 @@
|
||||
<?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('branches', function (Blueprint $table) {
|
||||
$table->id('branch_id');
|
||||
$table->string('parent_branch', 255)->nullable()->default(null);
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('contact_person', 250)->nullable()->default(null);
|
||||
$table->string('designation', 250)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->string('cover_photo', 255)->nullable()->default(null);
|
||||
$table->string('thumb', 255)->nullable()->default(null);
|
||||
$table->text('description')->nullable()->default(null);
|
||||
$table->string('contact1', 250)->nullable()->default(null);
|
||||
$table->string('contact2', 250)->nullable()->default(null);
|
||||
$table->string('email', 250)->nullable()->default(null);
|
||||
$table->text('address')->nullable()->default(null);
|
||||
$table->text('google_map')->nullable()->default(null);
|
||||
$table->integer('display_order')->nullable()->default(null);
|
||||
$table->integer('status')->nullable()->default(null);
|
||||
$table->text('seo_keywords')->nullable()->default(null);
|
||||
$table->text('seo_title')->nullable()->default(null);
|
||||
$table->text('seo_description')->nullable()->default(null);
|
||||
$table->text('og_tags')->nullable()->default(null);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('branches');
|
||||
}
|
||||
};
|
@ -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('certificates', function (Blueprint $table) {
|
||||
$table->id('certificate_id');
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('photo', 255)->nullable()->default(null);
|
||||
$table->string('thumb', 255)->nullable()->default(null);
|
||||
$table->string('text', 255)->nullable()->default(null);
|
||||
$table->text('description')->nullable()->default(null);
|
||||
$table->integer('display_order')->nullable()->default(null);
|
||||
$table->integer('status')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('certificates');
|
||||
}
|
||||
};
|
@ -0,0 +1,46 @@
|
||||
<?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('contacts', function (Blueprint $table) {
|
||||
$table->id('contact_id');
|
||||
$table->integer('forms_id')->nullable();
|
||||
$table->integer('branches_id')->nullable();
|
||||
$table->string('name', 255)->nullable()->default(null);
|
||||
$table->string('tagline', 255)->nullable()->default(null);
|
||||
$table->string('address', 255)->nullable()->default(null);
|
||||
$table->string('tel', 20);
|
||||
$table->string('fax', 255)->nullable()->default(null);
|
||||
$table->string('email1', 255)->nullable()->default(null);
|
||||
$table->string('email2', 255)->nullable()->default(null);
|
||||
$table->string('website', 255)->nullable()->default(null);
|
||||
$table->text('google_map')->nullable()->default(null);
|
||||
$table->string('facebook', 50)->nullable();
|
||||
$table->string('hp1', 50)->nullable();
|
||||
$table->string('hp2', 50)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('remarks')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('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('countries', function (Blueprint $table) {
|
||||
$table->id('country_id');
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->text('details')->nullable()->default(null);
|
||||
$table->string('cover_photo', 255)->nullable()->default(null);
|
||||
$table->text('feature')->nullable()->default(null);
|
||||
$table->string('image_thumb', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable()->default(null);
|
||||
$table->text('seo_title')->nullable()->default(null);
|
||||
$table->text('seo_descriptions')->nullable()->default(null);
|
||||
$table->text('og_tags')->nullable()->default(null);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('countries');
|
||||
}
|
||||
};
|
@ -0,0 +1,41 @@
|
||||
<?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('countryarticles', function (Blueprint $table) {
|
||||
$table->id('article_id');
|
||||
$table->integer('parent_article')->default(1);
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('cover_photo', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('countryarticles');
|
||||
}
|
||||
};
|
@ -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('customfields', function (Blueprint $table) {
|
||||
$table->id('customfield_id');
|
||||
$table->string('customfield_for',255)->default(NULL);
|
||||
$table->string('customfield_forref',255)->default(NULL);
|
||||
$table->string('title',255)->default(NULL);
|
||||
$table->string('alias',255)->default(NULL);
|
||||
$table->text('text')->default(NULL);
|
||||
$table->string('link',255)->default(NULL);
|
||||
$table->string('fa_icon',255)->default(NULL);
|
||||
$table->string('logo',255)->default(NULL);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('customfields');
|
||||
}
|
||||
};
|
@ -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('enquiries', function (Blueprint $table) {
|
||||
$table->id('enquiry_id');
|
||||
$table->string('name',255)->default(NULL);
|
||||
$table->string('email',255)->default(NULL);
|
||||
$table->string('phone',255)->default(NULL);
|
||||
$table->string('message',255)->default(NULL);
|
||||
$table->integer('status')->default(1);
|
||||
$table->boolean('is_read')->default(0);
|
||||
$table->string('enquiry_type')->default(NULL);
|
||||
$table->integer('preparationclassoffers_id')->default(NULL);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('enquiries');
|
||||
}
|
||||
};
|
@ -0,0 +1,31 @@
|
||||
<?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('error_logs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->bigInteger('user_id')->unsigned()->default(NULL);
|
||||
$table->string('controller_name')->default(NULL);
|
||||
$table->string('method_name')->default(NULL);
|
||||
$table->string('errors')->default(NULL);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('error_logs');
|
||||
}
|
||||
};
|
45
database/migrations/2024_06_10_092140_create_tbl_events.php
Normal file
45
database/migrations/2024_06_10_092140_create_tbl_events.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?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('events', function (Blueprint $table) {
|
||||
$table->id('event_id');
|
||||
$table->date('startdate')->default(null);
|
||||
$table->date('enddate')->default(null);
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->text('description')->nullable()->default(null);
|
||||
$table->string('image', 255)->nullable()->default(null);
|
||||
$table->string('thumb')->nullable()->default(null);
|
||||
$table->string('cover', 255)->nullable()->default(null);
|
||||
$table->string('link', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable()->default(null);
|
||||
$table->text('seo_title')->nullable()->default(null);
|
||||
$table->text('seo_descriptions')->nullable()->default(null);
|
||||
$table->text('og_tags')->nullable()->default(null);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('events');
|
||||
}
|
||||
};
|
@ -0,0 +1,32 @@
|
||||
<?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('failed_jobs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid',100)->unique();
|
||||
$table->text('connection')->nullable();
|
||||
$table->text('queue')->nullable();
|
||||
$table->longText('payload');
|
||||
$table->longText('exception');
|
||||
$table->timestamp('failed_at')->useCurrent();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('failed_jobs');
|
||||
}
|
||||
};
|
33
database/migrations/2024_06_10_092744_create_tbl_faqs.php
Normal file
33
database/migrations/2024_06_10_092744_create_tbl_faqs.php
Normal file
@ -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('faqs', function (Blueprint $table) {
|
||||
$table->id('faq_id');
|
||||
$table->text('title')->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->integer('display_order')->default(0);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->default(NULL);
|
||||
$table->integer('updatedby')->default(NULL);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('faqs');
|
||||
}
|
||||
};
|
47
database/migrations/2024_06_10_093146_create_tbl_forms.php
Normal file
47
database/migrations/2024_06_10_093146_create_tbl_forms.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?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('forms', function (Blueprint $table) {
|
||||
$table->id('form_id');
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('cover_photo', 255)->nullable()->default(null);
|
||||
$table->string('image_thumb', 255)->nullable()->default(null);
|
||||
$table->text('form_fields')->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->text('headers')->nullable()->default(null);
|
||||
$table->string('toemail', 255)->nullable()->default(null);
|
||||
$table->string('fromemail', 255)->nullable()->default(null);
|
||||
$table->string('emailsubject', 255)->nullable()->default(null);
|
||||
$table->text('emailtext')->nullable()->default(null);
|
||||
$table->string('autoresponse', 255)->nullable()->default(null);
|
||||
$table->string('responseheaders', 255)->nullable()->default(null);
|
||||
$table->string('responsefrom', 255)->nullable()->default(null);
|
||||
$table->string('responsesubject', 255)->nullable()->default(null);
|
||||
$table->text('responsetext')->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('forms');
|
||||
}
|
||||
};
|
@ -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('formssubmissions', function (Blueprint $table) {
|
||||
$table->id('formsubmission_id');
|
||||
$table->unsignedInteger('forms_id');
|
||||
$table->longText('submitted_values')->charset('utf8mb4')->collation('utf8mb4_bin')->nullable(false)->check('json_valid(`submitted_values`)');
|
||||
$table->integer('display_order')->default(0);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('formssubmissions');
|
||||
}
|
||||
};
|
@ -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('galleries', function (Blueprint $table) {
|
||||
$table->id('gallery_id');
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('thumb', 255)->nullable()->default(null);
|
||||
$table->string('cover_photo', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->nullable()->default(null);
|
||||
$table->integer('status')->nullable()->default(1);
|
||||
$table->integer('createdby')->default(null);
|
||||
$table->integer('updatedby')->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('galleries');
|
||||
}
|
||||
};
|
@ -0,0 +1,41 @@
|
||||
<?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('institutions', function (Blueprint $table) {
|
||||
$table->id('institution_id');
|
||||
$table->integer('countries_id')->nullable();
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('email', 250)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->string('logo', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable()->default(null);
|
||||
$table->text('seo_title')->nullable()->default(null);
|
||||
$table->text('seo_descriptions')->nullable()->default(null);
|
||||
$table->text('og_tags')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('institutions');
|
||||
}
|
||||
};
|
@ -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('menuitems', function (Blueprint $table) {
|
||||
$table->id('menu_id');
|
||||
$table->integer('parent_menu')->notNullable();
|
||||
$table->integer('menulocations_id')->nullable();
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->string('type', 255)->nullable()->default(null);
|
||||
$table->string('ref', 255)->nullable()->default(null);
|
||||
$table->string('target', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('menuitems');
|
||||
}
|
||||
};
|
@ -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('menulocations', function (Blueprint $table) {
|
||||
$table->id('menulocation_id');
|
||||
$table->string('title', 255)->nullable()->default(null);
|
||||
$table->string('alias', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('menulocations');
|
||||
}
|
||||
};
|
@ -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('milestones', function (Blueprint $table) {
|
||||
$table->id('milestone_id');
|
||||
$table->string('display', 255)->nullable()->default(null);
|
||||
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->text('text')->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->string('image', 255)->nullable()->default(null);
|
||||
$table->string('thumb', 255)->nullable()->default(null);
|
||||
$table->string('cover', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('milestones');
|
||||
}
|
||||
};
|
42
database/migrations/2024_06_10_095311_create_tbl_news.php
Normal file
42
database/migrations/2024_06_10_095311_create_tbl_news.php
Normal file
@ -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('news', function (Blueprint $table) {
|
||||
$table->id('news_id');
|
||||
$table->integer('parent_news')->nullable(false);
|
||||
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->string('alias', 50)->nullable();
|
||||
$table->text('text')->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->string('image', 255)->nullable()->default(null);
|
||||
$table->string('thumb', 255)->nullable()->default(null);
|
||||
$table->string('cover', 255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('news');
|
||||
}
|
||||
};
|
@ -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('operation_logs', function (Blueprint $table) {
|
||||
$table->id('operation_id');
|
||||
$table->string('refNo', 255)->nullable()->default(null);
|
||||
$table->integer('user_id')->nullable()->default(null);
|
||||
$table->bigInteger('operation_start_no')->nullable()->default(null);
|
||||
$table->bigInteger('operation_end_no')->nullable()->default(null);
|
||||
$table->string('model_name', 100)->nullable()->default(null);
|
||||
$table->integer('model_id')->nullable()->default(null);
|
||||
$table->string('operation_name', 100)->nullable()->default(null);
|
||||
$table->text('previous_values')->nullable()->default(null);
|
||||
$table->longText('new_values')->nullable()->default(null);
|
||||
$table->timestamp('created_at')->nullable()->default(null);
|
||||
$table->timestamp('updated_at')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('operation_logs');
|
||||
}
|
||||
};
|
@ -0,0 +1,28 @@
|
||||
<?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('password_reset_tokens', function (Blueprint $table) {
|
||||
$table->string('email',255)->default(null)->nullable();
|
||||
$table->string('token',255)->default(null)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('password_reset_tokens');
|
||||
}
|
||||
};
|
@ -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('personal_access_tokens', function (Blueprint $table) {
|
||||
$table->id('id');
|
||||
$table->string('tokenable_type', 255)->nullable()->default(null);
|
||||
$table->unsignedBigInteger('tokenable_id');
|
||||
$table->string('name', 255)->nullable()->default(null);
|
||||
$table->string('token', 64)->notNullable();
|
||||
$table->text('abilities')->nullable()->default(null);
|
||||
$table->timestamp('last_used_at')->nullable()->default(null);
|
||||
$table->timestamp('expires_at')->nullable()->default(null);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('personal_access_tokens');
|
||||
}
|
||||
};
|
35
database/migrations/2024_06_10_100024_create_tbl_photos.php
Normal file
35
database/migrations/2024_06_10_100024_create_tbl_photos.php
Normal file
@ -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('photos', function (Blueprint $table) {
|
||||
$table->id('photo_id');
|
||||
$table->integer('galleries_id')->nullable();
|
||||
$table->string('title',255)->nullable()->default(null);
|
||||
$table->string('alias',255)->nullable()->default(null);
|
||||
$table->string('thumb',255)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->default(1);
|
||||
$table->integer('updatedby')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('photos');
|
||||
}
|
||||
};
|
35
database/migrations/2024_06_10_100419_create_tbl_popups.php
Normal file
35
database/migrations/2024_06_10_100419_create_tbl_popups.php
Normal file
@ -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('popups', function (Blueprint $table) {
|
||||
$table->id('popup_id');
|
||||
$table->string('title', 250)->nullable()->default(null);
|
||||
$table->string('alias', 250)->nullable()->default(null);
|
||||
$table->text('text')->nullable()->default(null);
|
||||
$table->string('photo', 500)->nullable()->default(null);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable()->default(null);
|
||||
$table->integer('updatedby')->nullable()->default(null);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('popups');
|
||||
}
|
||||
};
|
@ -0,0 +1,44 @@
|
||||
<?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('preparationclasses', function (Blueprint $table) {
|
||||
$table->id('preparationclass_id');
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->integer('parent_preparationclass');
|
||||
$table->text('details')->nullable();
|
||||
$table->text('intro')->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('cover', 255)->nullable();
|
||||
$table->text('remarks')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('preparationclasses');
|
||||
}
|
||||
};
|
@ -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('preparationclasstestimonials', function (Blueprint $table) {
|
||||
$table->id('testimonial_id');
|
||||
$table->integer('preparationclasses_id')->nullable();
|
||||
$table->string('name', 255)->nullable();
|
||||
$table->string('student', 255)->nullable();
|
||||
$table->string('rating', 255)->nullable();
|
||||
$table->text('message')->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->text('remarks')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('preparationclasstestimonials');
|
||||
}
|
||||
};
|
@ -0,0 +1,45 @@
|
||||
<?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('preparationclassoffers', function (Blueprint $table) {
|
||||
$table->id('preparationclassoffer_id');
|
||||
$table->integer('preparationclasses_id')->nullable();
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->time('classtime')->nullable();
|
||||
$table->text('details')->nullable();
|
||||
$table->text('intro')->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('cover', 255)->nullable();
|
||||
$table->text('remarks')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('preparationclassoffers');
|
||||
}
|
||||
};
|
@ -0,0 +1,45 @@
|
||||
<?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('programs', function (Blueprint $table) {
|
||||
$table->id('program_id');
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->integer('countries_id')->nullable();
|
||||
$table->text('details')->nullable();
|
||||
$table->text('required_documents')->nullable();
|
||||
$table->text('qualification')->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('cover', 255)->nullable();
|
||||
$table->text('remarks')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('programs');
|
||||
}
|
||||
};
|
@ -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('quicklinks', function (Blueprint $table) {
|
||||
$table->id('quicklink_id');
|
||||
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->string('alias', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->string('link', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('quicklinks');
|
||||
}
|
||||
};
|
@ -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
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('resources', function (Blueprint $table) {
|
||||
$table->id('resource_id');
|
||||
$table->integer('resourcetypes_id')->nullable();
|
||||
$table->integer('parent_resource')->default(0);
|
||||
$table->string('title', 250)->nullable();
|
||||
$table->string('alias', 250)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('link', 500)->nullable();
|
||||
$table->string('cover_photo', 500)->nullable();
|
||||
$table->string('thumb', 250)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('resources');
|
||||
}
|
||||
};
|
@ -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('resourcetypes', function (Blueprint $table) {
|
||||
$table->id('resourcetype_id');
|
||||
$table->integer('parent_resourcetype')->default(0);
|
||||
$table->string('title', 250)->nullable();
|
||||
$table->string('alias', 250)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('cover_photo', 500)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('resourcetypes');
|
||||
}
|
||||
};
|
@ -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('services', function (Blueprint $table) {
|
||||
$table->integer('service_id');
|
||||
$table->integer('parent_service')->default(0);
|
||||
$table->string('title', 250)->nullable();
|
||||
$table->string('alias', 250)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('link', 500)->nullable();
|
||||
$table->string('cover_photo', 500)->nullable();
|
||||
$table->string('image_thumb', 500)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('seo_title')->nullable();
|
||||
$table->text('seo_descriptions')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('services');
|
||||
}
|
||||
};
|
@ -0,0 +1,62 @@
|
||||
<?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('setting_id');
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->string('url1', 255)->nullable();
|
||||
$table->string('url2', 255)->nullable();
|
||||
$table->string('location', 255)->nullable();
|
||||
$table->string('email', 255)->nullable();
|
||||
$table->string('phone', 255)->nullable();
|
||||
$table->string('secondary_phone', 255)->nullable();
|
||||
$table->string('working_hours', 255)->nullable();
|
||||
$table->string('working_days', 255)->nullable();
|
||||
$table->string('leave_days', 255)->nullable();
|
||||
$table->text('google_map')->nullable();
|
||||
$table->string('fb', 255)->nullable();
|
||||
$table->string('insta', 255)->nullable();
|
||||
$table->string('twitter', 255)->nullable();
|
||||
$table->string('tiktok', 255)->nullable();
|
||||
$table->string('youtube', 255)->nullable();
|
||||
$table->string('primary_logo', 255)->nullable();
|
||||
$table->string('secondary_logo', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('icon', 255)->nullable();
|
||||
$table->string('og_image', 255)->nullable();
|
||||
$table->string('no_image', 250)->nullable();
|
||||
$table->string('copyright_text', 250)->nullable();
|
||||
$table->text('content1')->nullable();
|
||||
$table->text('content2')->nullable();
|
||||
$table->text('content3')->nullable();
|
||||
$table->string('seo_title', 255)->nullable();
|
||||
$table->text('seo_description')->nullable();
|
||||
$table->text('seo_keywords')->nullable();
|
||||
$table->text('og_tags')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('settings');
|
||||
}
|
||||
};
|
@ -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('shortcodes', function (Blueprint $table) {
|
||||
$table->id('shortcode_id');
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->string('text', 255)->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->timestamps();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('shortcodes');
|
||||
}
|
||||
};
|
36
database/migrations/2024_06_10_101832_create_tbl_sliders.php
Normal file
36
database/migrations/2024_06_10_101832_create_tbl_sliders.php
Normal file
@ -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('sliders', function (Blueprint $table) {
|
||||
$table->id('slider_id');
|
||||
$table->string('slider_title', 255)->nullable();
|
||||
$table->string('slider_desc', 255)->nullable();
|
||||
$table->string('url1', 255)->nullable();
|
||||
$table->string('url2', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('sliders');
|
||||
}
|
||||
};
|
@ -0,0 +1,40 @@
|
||||
<?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('successstories', function (Blueprint $table) {
|
||||
$table->id('successstory_id');
|
||||
$table->integer('countries_id')->nullable();
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 200)->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('remarks', 255)->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->string('university', 255)->nullable();
|
||||
$table->string('faculty', 255)->nullable();
|
||||
$table->string('createdby', 255)->nullable();
|
||||
$table->string('updatedby', 255)->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('successstories');
|
||||
}
|
||||
};
|
39
database/migrations/2024_06_10_102427_create_tbl_teams.php
Normal file
39
database/migrations/2024_06_10_102427_create_tbl_teams.php
Normal file
@ -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('teams', function (Blueprint $table) {
|
||||
$table->id('team_id');
|
||||
$table->integer('branches_id')->nullable();
|
||||
$table->string('title', 255)->nullable();
|
||||
$table->string('alias', 255)->nullable();
|
||||
$table->string('photo', 255)->nullable();
|
||||
$table->string('thumb', 255)->nullable();
|
||||
$table->string('designation', 255)->nullable();
|
||||
$table->string('role', 255)->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('teams');
|
||||
}
|
||||
};
|
@ -0,0 +1,45 @@
|
||||
<?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('testimonial_id');
|
||||
$table->integer('branches_id')->nullable();
|
||||
$table->string('for', 255)->nullable();
|
||||
$table->integer('ref')->default(0);
|
||||
$table->string('by', 255)->nullable();
|
||||
$table->integer('rating')->nullable();
|
||||
$table->string('alias', 200)->nullable();
|
||||
$table->string('image', 255)->nullable();
|
||||
$table->string('cover', 255)->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('remarks', 255)->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->string('testimonials_faculty', 255)->nullable();
|
||||
$table->string('testimonials_university', 255)->nullable();
|
||||
$table->string('university', 255)->nullable();
|
||||
$table->string('faculty', 255)->nullable();
|
||||
$table->string('createdby', 255)->nullable();
|
||||
$table->string('updatedby', 255)->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('testimonials');
|
||||
}
|
||||
};
|
35
database/migrations/2024_06_10_102625_create_tbl_users.php
Normal file
35
database/migrations/2024_06_10_102625_create_tbl_users.php
Normal file
@ -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('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name')->nullable();
|
||||
$table->string('email')->nullable();
|
||||
$table->string('username')->nullable();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password')->nullable();
|
||||
$table->string('role')->nullable();
|
||||
$table->string('remember_token', 100)->nullable();
|
||||
$table->timestamps();
|
||||
$table->integer('status')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('users');
|
||||
}
|
||||
};
|
43
database/migrations/2024_06_10_102729_create_tbl_visas.php
Normal file
43
database/migrations/2024_06_10_102729_create_tbl_visas.php
Normal file
@ -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
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('visas', function (Blueprint $table) {
|
||||
$table->id('visa_id');
|
||||
$table->integer('branches_id')->nullable();
|
||||
$table->string('candidate')->nullable();
|
||||
$table->integer('ref')->default(0);
|
||||
$table->string('title')->nullable();
|
||||
$table->string('alias')->nullable();
|
||||
$table->string('image')->nullable();
|
||||
$table->string('cover')->nullable();
|
||||
$table->text('description')->nullable();
|
||||
$table->text('text')->nullable();
|
||||
$table->string('university')->nullable();
|
||||
$table->string('faculty')->nullable();
|
||||
$table->string('remarks')->nullable();
|
||||
$table->integer('display_order')->nullable();
|
||||
$table->integer('status')->nullable();
|
||||
$table->string('createdby')->nullable();
|
||||
$table->string('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('visas');
|
||||
}
|
||||
};
|
@ -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('subscribers', function (Blueprint $table) {
|
||||
$table->id('subscriber_id');
|
||||
$table->string('title')->nullable();
|
||||
$table->string('alias')->nullable();
|
||||
$table->string('email')->nullable();
|
||||
$table->integer('display_order')->default(1);
|
||||
$table->integer('status')->default(1);
|
||||
$table->integer('createdby')->nullable();
|
||||
$table->integer('updatedby')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('subscribers');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user