mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 14:17:18 +00:00
fix
This commit is contained in:
1 parent
6e9960c010
commit
ca2c66943c
2 files changed
+8
-8
No files matched your search
@@ -23,6 +23,12 @@ class ProductionSeeder extends Seeder
|
||||
{
|
||||
$user = 'root';
|
||||
|
||||
if (isCloud()) {
|
||||
echo " Running in cloud mode.\n";
|
||||
} else {
|
||||
echo " Running in self-hosted mode.\n";
|
||||
}
|
||||
|
||||
if (User::find(0) !== null && Team::find(0) !== null) {
|
||||
if (DB::table('team_user')->where('user_id', 0)->first() === null) {
|
||||
DB::table('team_user')->insert([
|
||||
|
||||
Reference in new issue
Block a user