postgresql database - mtanksl/OpenTibia GitHub Wiki
Introduction
Edit the \mtanksl.OpenTibia.GameData\data\server\config.lua file to set the database type to postgresql. Then set the host, port, user, password and name. Or use custom connection string setting overrideconnectionstring property with string value.
The DDL file is in \mtanksl.OpenTibia.Data.PostgreSql\structure.sql.
Example
server = {
...
database = {
type = "postgresql",
...
host = "localhost",
port = 5432,
user = "postgres",
password = "",
name = "mtots"
}
}