Skip to content

Commit 0dab749

Browse files
committed
ResourcesManager: update the database creation script for the integration tests which take into account the changes provided by the fix of the bug #14787
1 parent 9a83445 commit 0dab749

File tree

1 file changed

+31
-0
lines changed
  • resourcesManager/resourcesManager-library/src/integration-test/resources/org/silverpeas/components/resourcesmanager/service

1 file changed

+31
-0
lines changed

resourcesManager/resourcesManager-library/src/integration-test/resources/org/silverpeas/components/resourcesmanager/service/create-database.sql

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,37 @@ CREATE TABLE ST_Instance_Data
113113
value varchar(1000)
114114
);
115115

116+
CREATE TABLE SB_Node_Node
117+
(
118+
nodeId INT NOT NULL,
119+
nodeName VARCHAR (1000) NOT NULL,
120+
nodeDescription VARCHAR (2000) NULL,
121+
nodeCreationDate VARCHAR (10) NOT NULL,
122+
nodeCreatorId VARCHAR (100) NOT NULL,
123+
nodePath VARCHAR (1000) NOT NULL,
124+
nodeLevelNumber INT NOT NULL,
125+
nodeFatherId INT NOT NULL,
126+
modelId VARCHAR (1000) NULL,
127+
nodeStatus VARCHAR (1000) NULL,
128+
instanceId VARCHAR (50) NOT NULL,
129+
type VARCHAR (50) NULL,
130+
orderNumber INT DEFAULT (0) NULL,
131+
lang CHAR(2),
132+
rightsDependsOn INT DEFAULT (-1) NOT NULL,
133+
CONSTRAINT PK_Node_Node PRIMARY KEY (nodeId, instanceId)
134+
);
135+
136+
CREATE TABLE SB_Node_NodeI18N
137+
(
138+
id INT NOT NULL,
139+
nodeId INT NOT NULL,
140+
lang CHAR (2) NOT NULL,
141+
nodeName VARCHAR (1000) NOT NULL,
142+
nodeDescription VARCHAR (2000),
143+
CONSTRAINT PK_Node_NodeI18N PRIMARY KEY (id),
144+
CONSTRAINT UN_Node_NodeI18N UNIQUE (nodeId, lang)
145+
);
146+
116147
CREATE TABLE SC_Resources_Category
117148
(
118149
id BIGINT NOT NULL,

0 commit comments

Comments
 (0)