Skip to content

sqlite database

mtanksl edited this page Sep 18, 2023 · 2 revisions

Introduction

Edit the \mtanksl.OpenTibia.GameData\data\server\config.lua file to set the database type to sqlite. Then set the source file location.

The DDL file is in \mtanksl.OpenTibia.Data.Sqlite\structure.sql.

Example

server = {
	...
	database = {
		type = "sqlite",
		source = "data/database.db",
		...
	}
}