From 8a5073f8c2df3ac61f03a17070d0fa817589fbf1 Mon Sep 17 00:00:00 2001 From: gzydong <837215079@qq.com> Date: Mon, 6 Dec 2021 21:11:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BF=AE=E6=94=B9=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seeders/initialize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seeders/initialize.php b/seeders/initialize.php index 4e7af3e..9d59b3f 100644 --- a/seeders/initialize.php +++ b/seeders/initialize.php @@ -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 = [];