Add db CI (#472)

* Add Go CI

* Adjust trigger

* Adjust trigger
This commit is contained in:
Jonas Plum
2025-08-24 10:49:59 +02:00
committed by GitHub
parent c904e3d34e
commit 98d3a90546
8 changed files with 47 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ func init() {
// update collection data
if err := json.Unmarshal([]byte(`{
"indexes": [
"CREATE UNIQUE INDEX ` + "`" + `idx_4T3m08OsP1` + "`" + ` ON ` + "`" + `comments` + "`" + ` (` + "`" + `iri` + "`" + `) WHERE iri IS NOT NULL AND iri != \"\";"
"CREATE UNIQUE INDEX `+"`"+`idx_4T3m08OsP1`+"`"+` ON `+"`"+`comments`+"`"+` (`+"`"+`iri`+"`"+`) WHERE iri IS NOT NULL AND iri != \"\";"
]
}`), &collection); err != nil {
return err