initial seed points = 0

This commit is contained in:
xiaomlove
2022-02-19 23:37:27 +08:00
parent f2f873e1e7
commit 2035e08695
3 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -15,7 +15,7 @@
- 多语言
- 自动备份
- 管理后台
- Json api
- Json API
- ....
## 系统要求

View File

@@ -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]");
}