Initial commit
This commit is contained in:
8
app/database/exec.go
Normal file
8
app/database/exec.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package database
|
||||
|
||||
import "git.secnex.io/secnex/masterlog"
|
||||
|
||||
func Execute(query string) error {
|
||||
masterlog.Debug("Executing query", map[string]interface{}{"query": query})
|
||||
return DB.Exec(query).Error
|
||||
}
|
||||
Reference in New Issue
Block a user