Browse Source

Fix sql for first user action

Vova Tkach 6 years ago
parent
commit
394beaabea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/module_index.go

+ 1 - 0
modules/module_index.go

@@ -657,6 +657,7 @@ func (this *Modules) RegisterAction_IndexFirstUser() *Action {
 
 		_, err = wrap.DB.Query(
 			`INSERT INTO users SET
+				id = 1,
 				first_name = ?,
 				last_name = ?,
 				email = ?,