-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grad2-2766 Created Event history table.
- Loading branch information
1 parent
8295ba9
commit 38bb39c
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
api/src/main/resources/db/migration/1.0/V1.0.28__DDL-CREATE_TABLE-EVENT_HISTORY.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CREATE TABLE "EVENT_HISTORY" | ||
( "EVENT_HISTORY_ID" RAW(16) DEFAULT SYS_GUID() NOT NULL ENABLE, | ||
"EVENT_ID" RAW(16) NOT NULL ENABLE, | ||
"ACKNOWLEDGE_FLAG" VARCHAR2(1) NOT NULL ENABLE, | ||
"CREATE_USER" VARCHAR2(32) DEFAULT USER NOT NULL ENABLE, | ||
"CREATE_DATE" DATE DEFAULT SYSTIMESTAMP NOT NULL ENABLE, | ||
"UPDATE_USER" VARCHAR2(32) DEFAULT USER NOT NULL ENABLE, | ||
"UPDATE_DATE" DATE DEFAULT SYSTIMESTAMP NOT NULL ENABLE, | ||
|
||
CONSTRAINT "EVENT_HISTORY_ID_PK" PRIMARY KEY ("EVENT_HISTORY_ID") | ||
USING INDEX TABLESPACE "API_GRAD_IDX" ENABLE | ||
) SEGMENT CREATION IMMEDIATE | ||
NOCOMPRESS LOGGING | ||
TABLESPACE "API_GRAD_DATA" NO INMEMORY ; |