diff --git a/database/migrations/2022_11_08_214901_add_conflitos_interesse_to_trabalhos_table.php b/database/migrations/2022_11_08_214901_add_conflitos_interesse_to_trabalhos_table.php new file mode 100644 index 0000000000000000000000000000000000000000..69d21a1feb2608d73a5412e49003a8d169fe2d8a --- /dev/null +++ b/database/migrations/2022_11_08_214901_add_conflitos_interesse_to_trabalhos_table.php @@ -0,0 +1,32 @@ +<?php + +use Illuminate\Database\Migrations\Migration; +use Illuminate\Database\Schema\Blueprint; +use Illuminate\Support\Facades\Schema; + +class AddConflitosInteresseToTrabalhosTable extends Migration +{ + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::table('trabalhos', function (Blueprint $table) { + $table->text('conflitosInteresse')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('trabalhos', function (Blueprint $table) { + $table->dropColumn('conflitosInteresse'); + }); + } +}