test
This commit is contained in:
parent
c2149a105e
commit
795b416374
6
sql.go
6
sql.go
@ -333,6 +333,8 @@ func initDB() {
|
|||||||
,(` + strconv.Itoa(objTypeCastle) + `, "castle", "Castle")
|
,(` + strconv.Itoa(objTypeCastle) + `, "castle", "Castle")
|
||||||
,(` + strconv.Itoa(objTypeFair) + `, "fair", "Fair")
|
,(` + strconv.Itoa(objTypeFair) + `, "fair", "Fair")
|
||||||
,(` + strconv.Itoa(objTypeUnion) + `, "union", "Trade Union")
|
,(` + strconv.Itoa(objTypeUnion) + `, "union", "Trade Union")
|
||||||
|
,(` + strconv.Itoa(objTypeTribute) + `, "tribute", "Tribute")
|
||||||
|
,(` + strconv.Itoa(objTypeExperience) + `, "xp", "Experience")
|
||||||
;`)
|
;`)
|
||||||
failOnError(err, "initDB : populate table code_obj_type")
|
failOnError(err, "initDB : populate table code_obj_type")
|
||||||
log.Println("initDB : code_obj_type populated ...")
|
log.Println("initDB : code_obj_type populated ...")
|
||||||
@ -411,8 +413,8 @@ func initDB() {
|
|||||||
,(` + strconv.Itoa(objSubTypeCastle) + `, "castle", "Castle", ` + strconv.Itoa(objTypeCastle) + `)
|
,(` + strconv.Itoa(objSubTypeCastle) + `, "castle", "Castle", ` + strconv.Itoa(objTypeCastle) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeUnion) + `, "union", "Union", ` + strconv.Itoa(objTypeUnion) + `)
|
,(` + strconv.Itoa(objSubTypeUnion) + `, "union", "Union", ` + strconv.Itoa(objTypeUnion) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeFair) + `, "fair", "Fair", ` + strconv.Itoa(objTypeFair) + `)
|
,(` + strconv.Itoa(objSubTypeFair) + `, "fair", "Fair", ` + strconv.Itoa(objTypeFair) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeTribute) + `, "fair", "Fair", ` + strconv.Itoa(objTypeTribute) + `)
|
,(` + strconv.Itoa(objSubTypeTribute) + `, "tribute", "Tribute", ` + strconv.Itoa(objTypeTribute) + `)
|
||||||
,(` + strconv.Itoa(objSubTypeExperience) + `, "fair", "Fair", ` + strconv.Itoa(objTypeExperience) + `)
|
,(` + strconv.Itoa(objSubTypeExperience) + `, "xp", "Experience", ` + strconv.Itoa(objTypeExperience) + `)
|
||||||
;`)
|
;`)
|
||||||
failOnError(err, "initDB : populate table code_obj_sub_type")
|
failOnError(err, "initDB : populate table code_obj_sub_type")
|
||||||
log.Println("initDB : code_obj_sub_type populated ...")
|
log.Println("initDB : code_obj_sub_type populated ...")
|
||||||
|
Loading…
Reference in New Issue
Block a user