renamed database

This commit is contained in:
farhan 2020-10-29 15:25:29 +00:00
parent 9c2f2c8a0d
commit 97a8cbf578

View File

@ -337,7 +337,7 @@ func main() {
pollMessageChan := make (chan PollMessage, 100) pollMessageChan := make (chan PollMessage, 100)
// Setup Database // Setup Database
pool, err := pgxpool.Connect(context.Background(), "postgres://postgres@127.0.0.1/tutorial") pool, err := pgxpool.Connect(context.Background(), "postgres://postgres@127.0.0.1/fedilogue")
if err != nil { if err != nil {
fmt.Fprintln(os.Stderr, "Unable to connect to database:", err) fmt.Fprintln(os.Stderr, "Unable to connect to database:", err)
os.Exit(1) os.Exit(1)