summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2008-08-21 10:00:09 +0000
committerdeva <deva>2008-08-21 10:00:09 +0000
commit8e1f28fdd6908a852dd0d11ea868fef965b89790 (patch)
tree83046052234ef0b03818541275fd4ffb1aaf51a2 /server/src/database.h
parentd3ea5701baadcdbc6df8775d88f173e52936307a (diff)
Made postgres addr, username and password configurable.
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/database.h b/server/src/database.h
index c15aca5..332907f 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -50,9 +50,9 @@ typedef std::vector< std::string > Fieldnames;
class Database {
public:
- Database(std::string hostname = "localhost",
- std::string user = "pracro",
- std::string password = "pracro");
+ Database(std::string hostname,
+ std::string user,
+ std::string password);
~Database();
// Make a commit to the db