This commit is contained in:
f4ilji
2024-11-13 13:38:58 +05:00
parent 462680ba77
commit f091b29b63
22 changed files with 488 additions and 418 deletions
@@ -19,12 +19,12 @@ return new class extends Migration
$table->string('photo')->nullable(); // Фото
$table->string('academicTitle')->nullable(); // Ученая степень
$table->string('AcademicDegree')->nullable(); // Ученое звание
$table->string('education')->nullable(); // Образование
$table->text('education')->nullable(); // Образование
$table->text('awards')->nullable(); // Награды
$table->text('professDisciplines')->nullable(); // Преподаваемые программы
$table->text('professionalRetraining')->nullable(); // Профессиональная переподготовка
$table->text('professionalDevelopment')->nullable(); // Повышение квалификации
$table->integer('workExperience')->nullable(); // Стаж работы
$table->text('workExperience')->nullable(); // Стаж работы
$table->text('attendedConferences')->nullable(); // Участие в конференциях
$table->text('participationScienceProjects')->nullable(); // Участие в научных проектах
$table->text('publications')->nullable(); // Публикации
@@ -0,0 +1,25 @@
<?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('education')->change(); // Изменяем тип на text
});
}
public function down() : void
{
Schema::table('user_details', function (Blueprint $table) {
$table->string('education')->change(); // Возвращаем тип обратно на string
});
}
};
@@ -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('workExperience')->change(); // Изменяем тип на text
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('user_details', function (Blueprint $table) {
$table->integer('workExperience')->change();
});
}
};