Make event id serial rather than plain integer

This commit is contained in:
D. Berge
2020-09-06 14:24:01 +02:00
parent 4eb0a643c7
commit 906dcc6a7e

View File

@@ -261,7 +261,7 @@ ALTER TABLE _SURVEY__TEMPLATE_.events_midnight_shot OWNER TO postgres;
--
CREATE TABLE _SURVEY__TEMPLATE_.events_seq (
id integer NOT NULL,
id serial NOT NULL,
remarks text NOT NULL,
sequence integer NOT NULL,
point integer NOT NULL,
@@ -303,7 +303,7 @@ ALTER TABLE _SURVEY__TEMPLATE_.events_seq_timed OWNER TO postgres;
--
CREATE TABLE _SURVEY__TEMPLATE_.events_timed (
id integer NOT NULL,
id serial NOT NULL,
remarks text NOT NULL,
tstamp timestamp with time zone NOT NULL,
meta jsonb DEFAULT '{}'::jsonb NOT NULL