test
This commit is contained in:
parent
f96f43c997
commit
7ed97d0a59
2
sql.go
2
sql.go
@ -348,7 +348,7 @@ func initDB() {
|
|||||||
|
|
||||||
_, err = db.Exec(`CREATE VIEW obj_name_v AS
|
_, err = db.Exec(`CREATE VIEW obj_name_v AS
|
||||||
SELECT obn.*
|
SELECT obn.*
|
||||||
.obn.name COLLATE utf8mb4_unicode_ci AS text
|
,obn.name COLLATE utf8mb4_unicode_ci AS text
|
||||||
FROM obj_name obn;`)
|
FROM obj_name obn;`)
|
||||||
failOnError(err, "initDB : create view obj_name_v")
|
failOnError(err, "initDB : create view obj_name_v")
|
||||||
log.Println("initDB : obj_name_v created ...")
|
log.Println("initDB : obj_name_v created ...")
|
||||||
|
Loading…
Reference in New Issue
Block a user