mirror of
https://github.com/valitydev/newway.git
synced 2024-11-07 01:45:18 +00:00
Merge branch 'master' into ft/NEW-27/session_change_event
This commit is contained in:
commit
e40be4c879
11
src/main/resources/db/migration/V5__domain_objects.sql
Normal file
11
src/main/resources/db/migration/V5__domain_objects.sql
Normal 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)
|
||||
);
|
@ -1,3 +1,4 @@
|
||||
DROP TABLE nw.category;
|
||||
--category--
|
||||
CREATE TABLE nw.category(
|
||||
id BIGSERIAL NOT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user