This commit is contained in:
@@ -21,7 +21,7 @@ class Database
|
|||||||
# Connect once when the bot starts
|
# Connect once when the bot starts
|
||||||
@conn = PG.connect(
|
@conn = PG.connect(
|
||||||
host: ENV['DB_HOST'] || 'localhost',
|
host: ENV['DB_HOST'] || 'localhost',
|
||||||
dbname: ENV['DB_NAME'] || 'fgbot_db'
|
dbname: ENV['DB_NAME'] || 'fgbot_db',
|
||||||
user: ENV['DB_USER'] || 'postgres'
|
user: ENV['DB_USER'] || 'postgres'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user