summaryrefslogtreecommitdiffstats
path: root/internal/models/operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/operation.go')
-rw-r--r--internal/models/operation.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/models/operation.go b/internal/models/operation.go
index abb874c..4c5d67f 100644
--- a/internal/models/operation.go
+++ b/internal/models/operation.go
@@ -19,7 +19,9 @@ type OperationModel struct {
func (m *OperationModel) ListAll() ([]Operation, error) {
- stmt := `SELECT op.id, op.name, op.description, op.created, org.name FROM operations op INNER JOIN organisations org ON op.organisation_id=org.id`
+ stmt := `SELECT op.id, op.name, op.description, op.created, org.name
+ FROM operations op
+ INNER JOIN organisations org ON op.organisation_id=org.id`
// stmt := `SELECT * FROM operations`