CREATE TABLE IF NOT EXISTS active_players ( id BIGSERIAL PRIMARY KEY NOT NULL, session_id BIGINT NOT NULL, player_id BIGINT NOT NULL, created TIMESTAMP NOT NULL DEFAULT NOW(), updated TIMESTAMP NOT NULL DEFAULT NOW() );