feat:修改迁移文件

main
gzydong 2021-12-06 21:11:24 +08:00
parent fce5569a74
commit 8a5073f8c2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Initialize extends Seeder
ArticleClass::insert($defaultArticleClass);
$prefix = config('databases.default.prefix');
$list = Db::select("SELECT u1.id as user_id,u2.id as friend_id FROM {$prefix}users as u1,lar_users as u2 where u1.id != u2.id");
$list = Db::select("SELECT u1.id as user_id,u2.id as friend_id FROM {$prefix}users as u1,{$prefix}users as u2 where u1.id != u2.id");
$friends = [];