@molecule/api-resource-readings 1.0.8 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-readings",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Generic time-series with on-the-fly aggregation",
5
5
  "homepage": "https://www.molecule.dev/packages/api-resource-readings",
6
6
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  CREATE TABLE IF NOT EXISTS "readings" (
2
- "id" uuid UNIQUE PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
2
+ "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
3
3
  "owner_id" uuid NOT NULL,
4
4
  "sensor_id" varchar(120) NOT NULL,
5
5
  "metric" varchar(80) NOT NULL,