🔨 Adds db integration
This commit is contained in:
@@ -67,6 +67,7 @@ func ConnectDbFromEnv() {
|
||||
|
||||
type Dummy struct {
|
||||
ID uuid.UUID `gorm:"primaryKey;type:uuid;unique" json:"id"`
|
||||
Name string `json:"name"`
|
||||
Connected bool `json:"connected"`
|
||||
ConnectedAt time.Time `json:"connectedAt"`
|
||||
DisconnectedAt time.Time `json:"disconnectedAt"`
|
||||
|
||||
Reference in New Issue
Block a user