aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/database/sqlc/models.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-01-17 13:21:24 +0000
committerLeonardo Bishop <me@leonardobishop.com>2025-01-17 13:21:24 +0000
commitc00b690bd6f600554a1404e692bd9e4373325d27 (patch)
tree4488b625e1c24af52fced6f60ac1b3ddff1383bc /pkg/database/sqlc/models.go
Initial commit
Diffstat (limited to 'pkg/database/sqlc/models.go')
-rw-r--r--pkg/database/sqlc/models.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/database/sqlc/models.go b/pkg/database/sqlc/models.go
new file mode 100644
index 0000000..09208aa
--- /dev/null
+++ b/pkg/database/sqlc/models.go
@@ -0,0 +1,22 @@
+// Code generated by sqlc. DO NOT EDIT.
+// versions:
+// sqlc v1.27.0
+
+package sqlc
+
+import (
+ "github.com/jackc/pgx/v5/pgtype"
+)
+
+type Favourite struct {
+ ID int32 `json:"id"`
+ UserID int32 `json:"user_id"`
+ EventGuid pgtype.UUID `json:"event_guid"`
+ EventID pgtype.Int4 `json:"event_id"`
+}
+
+type User struct {
+ ID int32 `json:"id"`
+ Username string `json:"username"`
+ Password string `json:"password"`
+}