fix(db): incorrect columen name

This commit is contained in:
2026-02-09 09:56:03 +01:00
parent 6cf349bafa
commit ba90d5a0ed

View File

@@ -13,7 +13,7 @@ const SVGTABLECREATE string = `
);` );`
const INSERTSVGSQL string = "INSERT INTO svg VALUES (?, ?);" const INSERTSVGSQL string = "INSERT INTO svg VALUES (?, ?);"
const GETSPECIFICSVGSQL string = "SELECT * FROM svg WHERE id = ?;" const GETSPECIFICSVGSQL string = "SELECT * FROM svg WHERE name = ?;"
const GETSVGSQL string = "SELECT * FROM svg;" const GETSVGSQL string = "SELECT * FROM svg;"
func InsertSVG(data *svg.TemplateData) error { func InsertSVG(data *svg.TemplateData) error {