Fix nullability of columns

This commit is contained in:
Dustin Pianalto
2021-01-23 20:10:48 -09:00
parent 106333c26b
commit 454cced2a7
9 changed files with 155 additions and 36 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
package geeksbot
import "database/sql"
type PatreonCreator struct {
ID int
Creator string
@@ -10,7 +12,7 @@ type PatreonCreator struct {
type PatreonTier struct {
ID int
Name string
Description string
Description sql.NullString
Creator PatreonCreator
Role Role
NextTier *PatreonTier