This commit is contained in:
f4ilji
2024-11-03 17:57:17 +05:00
parent 1277e00210
commit ccc814ebf0
8 changed files with 224 additions and 0 deletions
@@ -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::table('educational_programs', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('direction_study_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('educational_programs', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('divisions', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('is_active');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('divisions', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('departments', function (Blueprint $table) {
//
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('departments', function (Blueprint $table) {
//
});
}
};
@@ -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::table('faculties', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('is_active');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('faculties', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('user_details', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('contactPhone');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('user_details', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('virtual_exhibitions', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('is_active');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('virtual_exhibitions', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('library_news', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('is_active');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('library_news', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};
@@ -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::table('additional_education', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('is_active');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('additional_education', function (Blueprint $table) {
$table->dropColumn('search_data');
});
}
};