@golemio/energetics 1.2.8 → 1.2.9-dev.1057568424

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.
@@ -1,3 +1,3 @@
1
1
  {
2
2
  "schema": "energetics"
3
- }
3
+ }
@@ -12,7 +12,7 @@ DROP VIEW IF EXISTS v_vpalac_apartments_daily_consumption;
12
12
 
13
13
 
14
14
  -- alter timestamp
15
- ALTER TABLE vpalac_measurement ALTER COLUMN time_measurement TYPE timestamptz USING to_timestamp(time_measurement / 1000);
15
+ ALTER TABLE vpalac_measurement ALTER COLUMN time_measurement TYPE timestamptz USING to_timestamp(time_measurement::decimal / 1000);
16
16
 
17
17
 
18
18
  -- rebuild dependant views
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/energetics",
3
- "version": "1.2.8",
3
+ "version": "1.2.9-dev.1057568424",
4
4
  "description": "Golemio Energetics Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,6 +33,7 @@
33
33
  "@commitlint/config-conventional": "^11.0.0",
34
34
  "@golemio/cli": "1.4.6",
35
35
  "@golemio/core": "1.8.9",
36
+ "@golemio/db-common": "^1.1.2",
36
37
  "@golemio/eslint-config": "1.1.1",
37
38
  "@types/chai": "4.2.3",
38
39
  "@types/chai-as-promised": "7.1.2",