Connect will open a new connection to the database. If there is an error when
attempting to connect to the database, we will close the database connection
here prior to returning.
type Model struct {
ID uint `gorm:"primary_key" json:"id,string"`
CreatedAt time.Time `json:"created_at,string"`
UpdatedAt time.Time `json:"updated_at,string"`
}