mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
initial seed points = 0
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ Complete PT website building solution. Based on NexusPHP + Laravel Framework + E
|
|||||||
- Multi-language
|
- Multi-language
|
||||||
- Automatic backup
|
- Automatic backup
|
||||||
- Backend management system
|
- Backend management system
|
||||||
- Json api
|
- Json API
|
||||||
- ....
|
- ....
|
||||||
|
|
||||||
## System Requirements
|
## System Requirements
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
- 多语言
|
- 多语言
|
||||||
- 自动备份
|
- 自动备份
|
||||||
- 管理后台
|
- 管理后台
|
||||||
- Json api
|
- Json API
|
||||||
- ....
|
- ....
|
||||||
|
|
||||||
## 系统要求
|
## 系统要求
|
||||||
|
|||||||
@@ -140,8 +140,9 @@ class Update extends Install
|
|||||||
*/
|
*/
|
||||||
if (WITH_LARAVEL && !NexusDB::schema()->hasColumn('users', 'seed_points')) {
|
if (WITH_LARAVEL && !NexusDB::schema()->hasColumn('users', 'seed_points')) {
|
||||||
$this->runMigrate('database/migrations/2021_06_24_013107_add_seed_points_to_users_table.php');
|
$this->runMigrate('database/migrations/2021_06_24_013107_add_seed_points_to_users_table.php');
|
||||||
$result = $this->initSeedPoints();
|
//Don't do this, initial seed points = 0;
|
||||||
$this->doLog("[INIT SEED POINTS], $result");
|
// $result = $this->initSeedPoints();
|
||||||
|
$this->doLog("[INIT SEED POINTS]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user