From f06b104aa72d8d7ec7ac113ce08353441d216974 Mon Sep 17 00:00:00 2001 From: Maicon Cerutti Date: Wed, 21 Aug 2024 20:26:21 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20ajustes=20edenta=C3=A7=C3=A3o=20c?= =?UTF-8?q?=C3=B3digo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...221800_create_qualitative_scouts_table.php | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/database/migrations/tenant/releases/2024_08_01_221800_create_qualitative_scouts_table.php b/database/migrations/tenant/releases/2024_08_01_221800_create_qualitative_scouts_table.php index 831f9e85..774f3d0c 100644 --- a/database/migrations/tenant/releases/2024_08_01_221800_create_qualitative_scouts_table.php +++ b/database/migrations/tenant/releases/2024_08_01_221800_create_qualitative_scouts_table.php @@ -17,17 +17,26 @@ public function up() Schema::create('qualitative_scouts', function (Blueprint $table) { $table->id(); - $table->foreignId('user_id')->constrained('users'); - $table->foreignId('player_id')->constrained('users'); - $table->foreignId('training_id')->constrained('trainings'); - $table->foreignId('position_id')->constrained('positions'); - $table->foreignId('action_type_id')->constrained('action_types'); + $table->foreignId('user_id') + ->constrained('users'); + $table->foreignId('player_id') + ->constrained('users'); + $table->foreignId('training_id') + ->constrained('trainings'); + $table->foreignId('position_id') + ->constrained('positions'); + $table->foreignId('action_type_id') + ->constrained('action_types'); // NOTE - Campos utilizados para marcações de avaliação - $table->smallInteger('set_number')->unsigned(); - $table->smallInteger('number_point')->unsigned(); - $table->smallInteger('evaluation')->unsigned(); - $table->smallInteger('time')->unsigned(); + $table->smallInteger('set_number') + ->unsigned(); + $table->smallInteger('number_point') + ->unsigned(); + $table->smallInteger('evaluation') + ->unsigned(); + $table->smallInteger('time') + ->unsigned(); $table->timestamps(); $table->softDeletes();