Changes
This commit is contained in:
@@ -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(); // Публикации
|
||||
|
||||
+25
@@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user