mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
Merge branch 'main' of github.com:Theodor-Springmann-Stiftung/musenalm
This commit is contained in:
@@ -99,7 +99,11 @@ func CreateFTS5TableQuery(tablename string, fields ...string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
str := "CREATE VIRTUAL TABLE IF NOT EXISTS " + FTS5TableName(tablename) + " USING fts5(" + ID_FIELD + " UNINDEXED, "
|
||||
str := "CREATE VIRTUAL TABLE IF NOT EXISTS " +
|
||||
FTS5TableName(tablename) +
|
||||
" USING fts5(" +
|
||||
ID_FIELD +
|
||||
", "
|
||||
for i, f := range fields {
|
||||
str += f
|
||||
if i < len(fields)-1 {
|
||||
|
||||
Reference in New Issue
Block a user