soft DELETE, saved in events_deleted table
This commit is contained in:
parent
816d3e7ece
commit
dda78efdd1
2 changed files with 15 additions and 0 deletions
12
setup.sql
12
setup.sql
|
@ -35,6 +35,18 @@ CREATE TABLE events (
|
|||
);
|
||||
|
||||
|
||||
CREATE TABLE events_deleted (
|
||||
events_id uuid,
|
||||
createdate timestamp without time zone,
|
||||
lastupdate timestamp without time zone,
|
||||
events_type text,
|
||||
events_what text,
|
||||
events_when tstzrange,
|
||||
events_geo text,
|
||||
events_tags jsonb
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: geo; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue