1 2 3 4 5 6 7 8 9 10
create table event_sequence ( last_value bigint not null ); create unique index event_sequence_singleton on event_sequence (0); insert into event_sequence values (0);