Skip to content

Commit

Permalink
Update 2021_11_09_084922_create_new_companies_table.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OhmygoodR authored Nov 6, 2023
1 parent b5839b0 commit 24d6523
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function up()
// its automatic value of name would be "My company"
Schema::create('companies', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('name')->default('My company');
$table->timestamps();
});
}
Expand Down

0 comments on commit 24d6523

Please sign in to comment.