Heimdall: Implement world change events.

This commit is contained in:
Kenneth Endfinger committed 2021-12-24 03:32:07 -05:00
1 parent 4017c3cb8c
commit b2851d13b9
4 files changed
+69 -6

No files matched your search

@@ -55,3 +55,14 @@ create table if not exists heimdall.player_sessions (
);
--
select create_hypertable('heimdall.player_sessions', 'start', 'player', 4, if_not_exists => TRUE);
--
create table if not exists heimdall.world_changes (
time timestamp not null,
player uuid not null,
from_world uuid not null,
from_world_name text not null,
to_world uuid not null,
to_world_name text not null
);
--
select create_hypertable('heimdall.world_changes', 'time', 'player', 4, if_not_exists => TRUE);