Skip to content

Instantly share code, notes, and snippets.

@andrewdoss-bit
Created September 2, 2021 03:59
Show Gist options
  • Save andrewdoss-bit/c33fdec42f790b438a04f56627e2dcd2 to your computer and use it in GitHub Desktop.
Save andrewdoss-bit/c33fdec42f790b438a04f56627e2dcd2 to your computer and use it in GitHub Desktop.
Create pm table
-- Aligns with logged columns in config.yaml
-- Update the first line with your table name
CREATE TABLE "air_quality_log_test/air_quality"."pm_measurements" (
"datetime" timestamp with time zone,
"location" text,
"sensor_id" integer,
"pm_2_5" real,
"pm_10" real
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment