From 2035e0869549559bd73902af637da18ea044639a Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sat, 19 Feb 2022 23:37:27 +0800 Subject: [PATCH] initial seed points = 0 --- README-EN.md | 2 +- README.md | 2 +- nexus/Install/Update.php | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README-EN.md b/README-EN.md index 0f8290e6..d6b9608d 100644 --- a/README-EN.md +++ b/README-EN.md @@ -16,7 +16,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel Framework + E - Multi-language - Automatic backup - Backend management system -- Json api +- Json API - .... ## System Requirements diff --git a/README.md b/README.md index f267a42f..8f3aa942 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ - 多语言 - 自动备份 - 管理后台 -- Json api +- Json API - .... ## 系统要求 diff --git a/nexus/Install/Update.php b/nexus/Install/Update.php index c92e5d0a..bbeaeadb 100644 --- a/nexus/Install/Update.php +++ b/nexus/Install/Update.php @@ -140,8 +140,9 @@ class Update extends Install */ if (WITH_LARAVEL && !NexusDB::schema()->hasColumn('users', 'seed_points')) { $this->runMigrate('database/migrations/2021_06_24_013107_add_seed_points_to_users_table.php'); - $result = $this->initSeedPoints(); - $this->doLog("[INIT SEED POINTS], $result"); + //Don't do this, initial seed points = 0; +// $result = $this->initSeedPoints(); + $this->doLog("[INIT SEED POINTS]"); }