Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspaq committed Jun 13, 2024
1 parent d0426ab commit dfae9f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions database/seeds/UsersTableSeeder.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;


use App\User;
use App\Post;
Expand Down Expand Up @@ -35,6 +37,7 @@ public function run()
// Create one user with these details
factory(User::class, 1)->create([
'email' => 'test@example.com',
'password' => Hash::make('password')
])->each(function ($user) {
// For the user created, create 30 FriendList Random Data Per Row
$user->friendReceived()->saveMany(factory(FriendList::class, 30))
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ services:
context: .
dockerfile: ./.docker/Dockerfile
working_dir: /app/veza
container_name: php_${DB_DATABASE}
volumes:
- .:/app/veza
ports:
Expand Down

0 comments on commit dfae9f5

Please sign in to comment.