diff --git a/database/migrations/2024_11_18_184235_update_column_in_equipes_table.php b/database/migrations/2024_11_18_184235_update_column_in_equipes_table.php new file mode 100644 index 0000000..77b3874 --- /dev/null +++ b/database/migrations/2024_11_18_184235_update_column_in_equipes_table.php @@ -0,0 +1,34 @@ +longText('descriptions')->nullable()->change(); + $table->string('domaine_competence')->nullable()->change(); + $table->string('formations')->nullable()->change(); + $table->string('selections')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('equipes', function (Blueprint $table) { + $table->longText('descriptions')->nullable(false)->change(); + $table->string('domaine_competence')->nullable(false)->change(); + $table->string('formations')->nullable()->change(false); + $table->string('selections')->nullable()->change(false); + }); + } +};