Commit 7fb04e7e authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

refatorar migrations

parent ac0580f8
...@@ -23,10 +23,10 @@ class CreatePlanejamentosTable extends Migration ...@@ -23,10 +23,10 @@ class CreatePlanejamentosTable extends Migration
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();
$table->foreignId('pad_id') // $table->foreignId('pad_id')
->constrained('pad') // ->constrained('pads')
->onUpdate('cascade') // ->onUpdate('cascade')
->onDelete('cascade'); // ->onDelete('cascade');
}); });
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment