Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
feat: ContactFormSeeder
Browse files Browse the repository at this point in the history
  • Loading branch information
na-teag committed Apr 17, 2024
1 parent 9e4e539 commit 2fd6c2d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions database/seeders/ContactFormSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,16 @@ class ContactFormSeeder extends Seeder
*/
public function run(): void
{
//$user = User::find(0);
$user = User::find(1);

ContactForm::create([
"id" => 0,
/*"first_name" => $user->first_name,
"first_name" => $user->first_name,
"last_name" => $user->last_name,
"email" => $user->email,
"gender" => $user->gender,
"job_id" => $user->job_id,
"birth" => $user->birth,*/
"first_name" => "Steve",
"last_name" => "Rogers",
"email" => "steve@minecraft.block",
"gender" => 0,
"job_id" => 1,
"birth" => "1970-01-01",
"birth" => $user->birth,
"subject" => "This website is so cool",
"content" => "This is just a supportive message to tell you just how awesome your website is.",
]);
Expand Down

0 comments on commit 2fd6c2d

Please sign in to comment.