diff --git a/database/migrations/2023_05_08_021929_update_users_table.php b/database/migrations/2023_05_08_021929_update_users_table.php new file mode 100644 index 0000000..744ca60 --- /dev/null +++ b/database/migrations/2023_05_08_021929_update_users_table.php @@ -0,0 +1,34 @@ +string('first_name')->default('')->change(); + $table->string('last_name')->default('')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->string('first_name')->nullable(false)->change(); + $table->string('last_name')->nullable(false)->change(); + }); + } +};