@cumulus/db 11.1.2 → 11.1.5

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.
@@ -0,0 +1,4 @@
1
+ import { Knex } from 'knex';
2
+ export declare const up: (knex: Knex) => Promise<void>;
3
+ export declare const down: (knex: Knex) => Promise<void>;
4
+ //# sourceMappingURL=20220629181436_add-files-granules-index-rev-2.d.ts.map
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.down = exports.up = void 0;
4
+ const up = async (knex) => {
5
+ await knex.raw('CREATE INDEX IF NOT EXISTS files_granule_cumulus_id_index ON files (granule_cumulus_id)');
6
+ };
7
+ exports.up = up;
8
+ const down = async (knex) => {
9
+ await knex.raw('DROP INDEX IF EXISTS files_granule_cumulus_id_index');
10
+ };
11
+ exports.down = down;
12
+ //# sourceMappingURL=20220629181436_add-files-granules-index-rev-2.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/db",
3
- "version": "11.1.2",
3
+ "version": "11.1.5",
4
4
  "description": "Utilities for working with the Cumulus DB",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",
@@ -29,12 +29,12 @@
29
29
  "node": ">=12.18.0"
30
30
  },
31
31
  "dependencies": {
32
- "@cumulus/aws-client": "11.1.2",
33
- "@cumulus/common": "11.1.2",
34
- "@cumulus/errors": "11.1.2",
35
- "@cumulus/logger": "11.1.2",
36
- "@cumulus/message": "11.1.2",
37
- "@cumulus/types": "11.1.2",
32
+ "@cumulus/aws-client": "11.1.5",
33
+ "@cumulus/common": "11.1.5",
34
+ "@cumulus/errors": "11.1.5",
35
+ "@cumulus/logger": "11.1.5",
36
+ "@cumulus/message": "11.1.5",
37
+ "@cumulus/types": "11.1.5",
38
38
  "crypto-random-string": "^3.2.0",
39
39
  "is-valid-hostname": "1.0.2",
40
40
  "knex": "0.95.15",
@@ -46,5 +46,5 @@
46
46
  "devDependencies": {
47
47
  "@types/uuid": "^8.0.0"
48
48
  },
49
- "gitHead": "98ba3b1f617e8e531a3bfaa490f2a125da78df9f"
49
+ "gitHead": "fa0ffeeebc417b7d1194769bceca00d3dd700eae"
50
50
  }