summaryrefslogtreecommitdiff
path: root/internal/data
diff options
context:
space:
mode:
Diffstat (limited to 'internal/data')
-rw-r--r--internal/data/frequencies.sql.go4
-rw-r--r--internal/data/models.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/data/frequencies.sql.go b/internal/data/frequencies.sql.go
index 4487ac0..024c069 100644
--- a/internal/data/frequencies.sql.go
+++ b/internal/data/frequencies.sql.go
@@ -27,7 +27,7 @@ type CreateFrequencyParams struct {
ID snowflake.ID
NetworkID snowflake.ID
Name string
- HexColor *string
+ HexColor string
Perms int64
}
@@ -123,7 +123,7 @@ RETURNING id, network_id, name, hex_color, perms, position
`
type SetFrequencyColorParams struct {
- HexColor *string
+ HexColor string
ID snowflake.ID
}
diff --git a/internal/data/models.go b/internal/data/models.go
index f53d726..3b5425f 100644
--- a/internal/data/models.go
+++ b/internal/data/models.go
@@ -13,7 +13,7 @@ type Frequency struct {
ID snowflake.ID
NetworkID snowflake.ID
Name string
- HexColor *string
+ HexColor string
Perms int64
Position int64
}