@nsshunt/stsdatamanagement 1.18.172 → 1.18.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/db-scripts/builddb.sql +13 -13
- package/package.json +1 -1
package/db-scripts/builddb.sql
CHANGED
|
@@ -59,7 +59,7 @@ CREATE TABLE stsresfhirlink (
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
CREATE INDEX idx_stsresfhirlink_type_id
|
|
62
|
-
ON stsresfhirlink (
|
|
62
|
+
ON stsresfhirlink (RES_ID, RES_TYPE);
|
|
63
63
|
|
|
64
64
|
CREATE INDEX idx_stsresfhirlink_identity
|
|
65
65
|
ON stsresfhirlink (SP_NAME, RES_TYPE);
|
|
@@ -95,7 +95,7 @@ CREATE TABLE stsresfhirstring (
|
|
|
95
95
|
);
|
|
96
96
|
|
|
97
97
|
CREATE INDEX idx_stsresfhirstring_type_id
|
|
98
|
-
ON stsresfhirstring (
|
|
98
|
+
ON stsresfhirstring (RES_ID, RES_TYPE);
|
|
99
99
|
|
|
100
100
|
CREATE INDEX idx_stsresfhirstring_hash_identity
|
|
101
101
|
ON stsresfhirstring (HASH_IDENTITY);
|
|
@@ -138,7 +138,7 @@ CREATE TABLE stsresfhirtoken (
|
|
|
138
138
|
);
|
|
139
139
|
|
|
140
140
|
CREATE INDEX idx_stsresfhirtoken_type_id
|
|
141
|
-
ON stsresfhirtoken (
|
|
141
|
+
ON stsresfhirtoken (RES_ID, RES_TYPE);
|
|
142
142
|
|
|
143
143
|
CREATE INDEX idx_stsresfhirtoken_hash_identity
|
|
144
144
|
ON stsresfhirtoken (HASH_IDENTITY);
|
|
@@ -184,7 +184,7 @@ CREATE TABLE stsresfhirquantity (
|
|
|
184
184
|
);
|
|
185
185
|
|
|
186
186
|
CREATE INDEX idx_stsresfhirquantity_type_id
|
|
187
|
-
ON stsresfhirquantity (
|
|
187
|
+
ON stsresfhirquantity (RES_ID, RES_TYPE);
|
|
188
188
|
|
|
189
189
|
CREATE INDEX idx_stsresfhirquantity_hash_identity
|
|
190
190
|
ON stsresfhirquantity (HASH_IDENTITY);
|
|
@@ -226,7 +226,7 @@ CREATE TABLE stsresfhirnumber (
|
|
|
226
226
|
);
|
|
227
227
|
|
|
228
228
|
CREATE INDEX idx_stsresfhirnumber_type_id
|
|
229
|
-
ON stsresfhirnumber (
|
|
229
|
+
ON stsresfhirnumber (RES_ID, RES_TYPE);
|
|
230
230
|
|
|
231
231
|
CREATE INDEX idx_stsresfhirnumber_hash_identity
|
|
232
232
|
ON stsresfhirnumber (HASH_IDENTITY);
|
|
@@ -256,12 +256,12 @@ CREATE TABLE stsresfhiruri (
|
|
|
256
256
|
COMPOSITE_HASH_EXACT BIGINT
|
|
257
257
|
);
|
|
258
258
|
|
|
259
|
+
CREATE INDEX idx_stsresfhiruri_type_id
|
|
260
|
+
ON stsresfhiruri (RES_ID, RES_TYPE);
|
|
261
|
+
|
|
259
262
|
CREATE INDEX idx_stsresfhiruri_hash_identity
|
|
260
263
|
ON stsresfhiruri (HASH_IDENTITY);
|
|
261
264
|
|
|
262
|
-
CREATE INDEX idx_stsresfhiruri_type_id
|
|
263
|
-
ON stsresfhiruri (RES_TYPE, RES_ID);
|
|
264
|
-
|
|
265
265
|
CREATE INDEX idx_stsresfhiruri_hash_uri
|
|
266
266
|
ON stsresfhiruri (HASH_URI, SP_URI)
|
|
267
267
|
WHERE SP_URI IS NOT NULL;
|
|
@@ -293,7 +293,7 @@ CREATE TABLE stsresfhirdate (
|
|
|
293
293
|
COMPOSITE_HASH_EXACT BIGINT
|
|
294
294
|
);
|
|
295
295
|
CREATE INDEX idx_stsresfhirdate_type_id
|
|
296
|
-
ON stsresfhirdate (
|
|
296
|
+
ON stsresfhirdate (RES_ID, RES_TYPE);
|
|
297
297
|
|
|
298
298
|
CREATE INDEX idx_stsresfhirdate_hash_identity
|
|
299
299
|
ON stsresfhirdate (HASH_IDENTITY);
|
|
@@ -327,12 +327,12 @@ CREATE TABLE stsresfhircoords (
|
|
|
327
327
|
COMPOSITE_HASH_EXACT BIGINT
|
|
328
328
|
);
|
|
329
329
|
|
|
330
|
+
CREATE INDEX idx_stsresfhircoords_type_id
|
|
331
|
+
ON stsresfhircoords (RES_ID, RES_TYPE);
|
|
332
|
+
|
|
330
333
|
CREATE INDEX idx_stsresfhircoords_hash_identity
|
|
331
334
|
ON stsresfhircoords (HASH_IDENTITY);
|
|
332
335
|
|
|
333
|
-
CREATE INDEX idx_stsresfhircoords_type_id
|
|
334
|
-
ON stsresfhircoords (RES_TYPE, RES_ID);
|
|
335
|
-
|
|
336
336
|
CREATE INDEX idx_stsresfhircoords_hash_identity_lat_long
|
|
337
337
|
ON stsresfhircoords (HASH_IDENTITY, SP_LATITUDE, SP_LONGITUDE)
|
|
338
338
|
WHERE SP_LATITUDE IS NOT NULL AND SP_LONGITUDE IS NOT NULL;
|
|
@@ -358,7 +358,7 @@ CREATE TABLE stsresfhircombo (
|
|
|
358
358
|
);
|
|
359
359
|
|
|
360
360
|
CREATE INDEX idx_stsresfhircombo_type_id
|
|
361
|
-
ON stsresfhircombo (
|
|
361
|
+
ON stsresfhircombo (RES_ID, RES_TYPE);
|
|
362
362
|
|
|
363
363
|
CREATE INDEX idx_stsresfhircombo_hash_identity
|
|
364
364
|
ON stsresfhircombo (HASH_IDENTITY);
|