wip
This commit is contained in:
1 parent
b858e02bf3
commit
e61f5d315e
2 files changed
+9
-63
No files matched your search
@@ -32,8 +32,10 @@ public function run(): void
|
||||
'must_fill_profile' => true,
|
||||
]);
|
||||
|
||||
DB::statement("SELECT setval('users_id_seq', (SELECT MAX(id) from users));");
|
||||
DB::statement("SELECT nextval('users_id_seq');");
|
||||
if (config('database.default') === 'pgsql') {
|
||||
DB::statement("SELECT setval('users_id_seq', (SELECT MAX(id) from users));");
|
||||
DB::statement("SELECT nextval('users_id_seq');");
|
||||
}
|
||||
|
||||
User::factory()->count(3)->create(['password' => bcrypt('payload10')]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user