diff --git a/mapobjectdb/sqlite_migrate.go b/mapobjectdb/sqlite_migrate.go index 71a2c83..46c80d5 100644 --- a/mapobjectdb/sqlite_migrate.go +++ b/mapobjectdb/sqlite_migrate.go @@ -21,6 +21,9 @@ create table if not exists objects( mtime bigint ); +create index if not exists objects_pos on objects(posx,posy,posz); +create index if not exists objects_pos_type on objects(posx,posy,posz,type); + create table if not exists tiles( data blob, mtime bigint,