renamed database
This commit is contained in:
parent
9c2f2c8a0d
commit
97a8cbf578
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user