This commit is contained in:
f4ilji
2024-11-03 23:06:49 +05:00
parent ccc814ebf0
commit e3af1778f0
14 changed files with 1424 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('academic_journals', function (Blueprint $table) {
$table->text('search_data')->nullable()->after('for_authors');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('academic_journals', 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('academic_journals', function (Blueprint $table) {
$table->boolean('is_active')->default(true)->after('for_authors');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('academic_journals', function (Blueprint $table) {
$table->dropColumn('is_active');
});
}
};