Merge branch 'master' into ft/NEW-27/session_change_event

This commit is contained in:
Inal Arsanukaev 2018-09-20 18:03:17 +03:00
commit e40be4c879
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
CREATE TABLE nw.category(
id BIGSERIAL NOT NULL,
version_id BIGINT NOT NULL,
category_id INT NOT NULL,
name CHARACTER VARYING NOT NULL,
description CHARACTER VARYING NOT NULL,
type CHARACTER VARYING,
wtime TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT (now() at time zone 'utc'),
current BOOLEAN NOT NULL DEFAULT TRUE,
CONSTRAINT category_pkey PRIMARY KEY (id)
);

View File

@ -1,3 +1,4 @@
DROP TABLE nw.category;
--category--
CREATE TABLE nw.category(
id BIGSERIAL NOT NULL,