refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -13,8 +13,7 @@ class OneoffApplicants extends Migration
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('oneoff_applicants', function(Blueprint $table){
|
||||
|
||||
Schema::create('oneoff_applicants', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('email');
|
||||
@@ -24,10 +23,9 @@ class OneoffApplicants extends Migration
|
||||
$table->foreign('application_id')
|
||||
->references('id')
|
||||
->on('applications')
|
||||
|
||||
|
||||
->onDelete('cascade')
|
||||
->onUpdate('cascade');
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user