go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/projects/nodes/pkg/dbmodel/graph_recompute_heap.go (about) 1 /* 2 3 Copyright (c) 2023 - Present. Will Charczuk. All rights reserved. 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository. 5 6 */ 7 8 package dbmodel 9 10 import "go.charczuk.com/sdk/uuid" 11 12 type GraphRecomputeHeap struct { 13 GraphID uuid.UUID `db:"graph_id,pk"` 14 UserID uuid.UUID `db:"user_id,pk"` 15 NodeID uuid.UUID `db:"node_id,pk"` 16 } 17 18 func (grh GraphRecomputeHeap) TableName() string { return "graph_recompute_heap" }