soft DELETE, saved in events_deleted table

This commit is contained in:
cquest 2016-08-11 22:20:28 +02:00
parent 816d3e7ece
commit dda78efdd1
2 changed files with 15 additions and 0 deletions

View file

@ -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: -
--