mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:47:08 +00:00
Make event id serial rather than plain integer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user