-- TEST ONLY. Run only against an ephemeral/scenario database.
create schema if not exists kbx_test;
create table if not exists kbx_test.environment_guard(
  marker text primary key,
  created_at timestamptz not null default now()
);
insert into kbx_test.environment_guard(marker)
values('KBX_SCENARIO_TEST_ONLY')
on conflict(marker) do nothing;
